1
0
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:
Kelly Brazil
2022-08-16 16:39:00 -07:00
parent 80b4f7d037
commit 8cbd92ccb6
2 changed files with 9 additions and 0 deletions

View File

@ -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)

View File

@ -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)