From b8c0cfadbd51c9cd72ec48f3c8f442790bb33c82 Mon Sep 17 00:00:00 2001 From: "Michael S. P. Kelley" Date: Wed, 28 Aug 2024 20:28:16 -0400 Subject: [PATCH] Log exceptions --- _add_atlas | 1 + 1 file changed, 1 insertion(+) diff --git a/_add_atlas b/_add_atlas index d01386c..eff3dd6 100755 --- a/_add_atlas +++ b/_add_atlas @@ -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.",