Skip to content

Commit

Permalink
Fix exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavhd committed Jun 29, 2023
1 parent 94bc8bd commit 126c187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/db_migrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(self, namespace, socket=None):
try:
if os.path.isfile(MINIGRAPH_FILE):
self.minigraph_data = parse_xml(MINIGRAPH_FILE)
except Exception:
except Exception as e:
log.log_error('Caught exception while trying to parse minigraph: ' + str(e))
pass

Expand Down

0 comments on commit 126c187

Please sign in to comment.