aboutsummaryrefslogtreecommitdiffstats
path: root/python/scripts/ingestrequest_row2json.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/scripts/ingestrequest_row2json.py')
-rwxr-xr-xpython/scripts/ingestrequest_row2json.py5
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():