json icon indicating copy to clipboard operation
json copied to clipboard

Shorten reference to input data in error message

Open forthrin opened this issue 2 years ago • 0 comments

The "unexpected token" error message includes the full bulk of the input data no matter how large. Suggest to snip input data at a reasonable cutoff point, eg. 1024 bytes, to prevent swamping terminals, logs, cron emails, etc.

forthrin avatar Jul 27 '23 20:07 forthrin