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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user