about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--scripts/load_phenotypes_to_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/load_phenotypes_to_db.py b/scripts/load_phenotypes_to_db.py
index dc083cd..770bb10 100644
--- a/scripts/load_phenotypes_to_db.py
+++ b/scripts/load_phenotypes_to_db.py
@@ -504,7 +504,7 @@ if __name__ == "__main__":
 
     try:
         sys.exit(main())
-    except:
+    except Exception as _exc:
         logger.debug("Data loading failed… Halting!",
                      exc_info=True)
         sys.exit(1)