Skip to content

Commit

Permalink
global exception on file
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f authored Jan 10, 2024
1 parent 805ccc9 commit 5b06cc9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def fetch_data(args):
yield json_dict
except json.decoder.JSONDecodeError:
print("Cannot parse json: "+line.decode("utf-8"))
except zlib.error as e:
except Exception as e:
print("Issue with compressed file named "+file_path, e)
if not args.keep_file:
destination = os.path.join(
Expand Down

0 comments on commit 5b06cc9

Please sign in to comment.