Skip to content

Commit

Permalink
Merge pull request #1998 from kuzudb/serializer-error
Browse files Browse the repository at this point in the history
Log errors for serializer
  • Loading branch information
mewim committed Sep 7, 2023
2 parents b71fe50 + dc79252 commit ad5fa79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions benchmark/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def serialize(dataset_name, dataset_path, serialized_graph_path):
serialize(dataset_name, dataset_path, serialized_graph_path)
except Exception as e:
logging.error('Error serializing dataset %s', dataset_name)
logging.error(e)
sys.exit(1)
finally:
shutil.rmtree(os.path.join(base_dir, 'history.txt'),
Expand Down

0 comments on commit ad5fa79

Please sign in to comment.