bltool icon indicating copy to clipboard operation
bltool copied to clipboard

`--from text` copes poorly with bad input

Open ToxicFrog opened this issue 11 years ago • 0 comments

If a line is damaged (for example, because braindead Notepad inserts a BOM for UTF8 text), it will merrily read the entire file and then try to output garbage. If your output is text or EDN it means you get a nonsensical record. If your output is backloggery it means it tries to pass an empty body to the HTTP library and then crashes.

It should throw properly when it encounters a malformed record.

ToxicFrog avatar Jan 14 '14 02:01 ToxicFrog