about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi <fredmanglis@gmail.com>2026-10-14 10:04:50 -0500
committerFrederick Muriuki Muriithi <fredmanglis@gmail.com>2026-10-14 10:04:50 -0500
commitb6d95c2ff301e572f024f525f6b5b81e73dafe5b (patch)
treed0ba1c66b567f8c31ffe238f23de30e249ed1eff /scripts
parent2933f3c336d84fc18ef0367f4c501a852b0fd7a4 (diff)
downloadgn-uploader-b6d95c2ff301e572f024f525f6b5b81e73dafe5b.tar.gz
Log out error to help with troubleshooting failures.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/load_phenotypes_to_db.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/load_phenotypes_to_db.py b/scripts/load_phenotypes_to_db.py
index f906e07..addda99 100644
--- a/scripts/load_phenotypes_to_db.py
+++ b/scripts/load_phenotypes_to_db.py
@@ -292,6 +292,7 @@ def update_auth(# pylint: disable=[too-many-locals,too-many-positional-arguments
             }).then(lambda attc: (user, linkeddata, resource, attc))
 
     def __handle_error__(resp):
+        logger.error("ERROR OCCURRED: %s", resp.response.text)
         error = resp.json()
         if error.get("error") == "IntegrityError":
             # This is hacky. If the auth already exists, something went wrong