Grab-logs fails on large log files, needs error messages

I just tried running grab-logs -A and it hung for several minutes, before returning the following unhelpful output:

Last login: Sat Mar 17 22:50:01 2018 from 192.168.1.EDITED
osmc@osmc:~$ grab-logs -A
Logs successfully uploaded.
Logs available at<html>

(the URL looked just like that - ending in a html tag)

I dug around and found uploadlog.txt, and tried pushing it up myself:

osmc@osmc:~$ paste-log /var/tmp/uploadlog.txt
Unable to upload log. Log file is too large. (402MB)

Some error handling on grab-logs would be awesome.

402MB is far too big for a POST on our side.

We accept 10M which is more than sufficient to identify a problem.

You are correct however that we should handle large filesizes more gracefully. We will address this shortly.