1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

modify stream_error message

This commit is contained in:
Kelly Brazil
2021-09-13 18:36:19 -07:00
parent f50dfaef45
commit 23eeb33b3d

View File

@ -176,7 +176,7 @@ def convert_to_bool(value):
def stream_error(e, quiet, line):
"""reraise the stream exception with annotation or print an error _meta field if quiet=True"""
if not quiet:
e.args = (str(e) + '... Use the quiet option (-q) to ignore errors.',)
e.args = (str(e) + '... Use the quiet option (-q) to ignore streaming parser errors.',)
raise e
else:
return {