diff options
-rwxr-xr-x | python/scripts/ingestrequest_row2json.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/scripts/ingestrequest_row2json.py b/python/scripts/ingestrequest_row2json.py index 065dd3b..563855d 100755 --- a/python/scripts/ingestrequest_row2json.py +++ b/python/scripts/ingestrequest_row2json.py @@ -29,7 +29,10 @@ def run(args): for l in args.json_file: if not l.strip(): continue - req = transform(json.loads(l)) + try: + req = transform(json.loads(l)) + except: + print(l, file=sys.stderr) print(json.dumps(req, sort_keys=True)) def main(): |