mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-15 01:24:29 +02:00
add unparsable warning message
This commit is contained in:
@ -173,6 +173,10 @@ def parse(
|
||||
'unparsable': line
|
||||
}
|
||||
|
||||
if not quiet:
|
||||
jc.utils.warning_message(
|
||||
[f'Unparsable line found: {line}']
|
||||
)
|
||||
|
||||
if output_line:
|
||||
yield output_line if raw else _process(output_line)
|
||||
|
@ -263,6 +263,11 @@ def parse(
|
||||
'unparsable': line
|
||||
}
|
||||
|
||||
if not quiet:
|
||||
jc.utils.warning_message(
|
||||
[f'Unparsable line found: {line}']
|
||||
)
|
||||
|
||||
if output_line:
|
||||
yield output_line if raw else _process(output_line)
|
||||
|
||||
|
Reference in New Issue
Block a user