From 64d523ebc1ec016a8c61e412bcb91d3758836d89 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Thu, 22 Sep 2016 19:29:03 -0400 Subject: updates Former-commit-id: 04324a445d7214d21e616e044451bb79acc5a207 --- www/lang/checklang.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/lang/checklang.py') diff --git a/www/lang/checklang.py b/www/lang/checklang.py index e0ba484a..cf3291fe 100755 --- a/www/lang/checklang.py +++ b/www/lang/checklang.py @@ -47,8 +47,9 @@ def compare (fname): with open (i) as json_data: try: newKeys = json.load(json_data) - except ValueError: + except ValueError as e: print 'could not parse %s, skipping!' %fname + print 'Error was %s' % str(e) globBad+=1 return json_data.close() -- cgit v1.2.3