Skip to content

Commit

Permalink
Merge pull request #8 from Small-Bodies-Node/log-exceptions
Browse files Browse the repository at this point in the history
Log exceptions in ATLAS script
  • Loading branch information
mkelley authored Aug 29, 2024
2 parents cb1aaca + b8c0cfa commit edf6ca3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _add_atlas
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ else:
try:
count += add_label(label, session)
except Exception as exc:
logger.error(exc)
errored += 1
logger.info(
"%d files added, %d files already in the database, %d files errored.",
Expand Down

0 comments on commit edf6ca3

Please sign in to comment.