about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-04-15 14:50:50 -0500
committerFrederick Muriuki Muriithi2026-04-15 14:50:50 -0500
commitdbe33a9dc6a19106d86532eb0cd35c26607ac85d (patch)
tree554e82e8406b22f0addd7a0ae8bbb910f5f2164f
parent2f9f153f566b9593f88e7bf6a0e3cd96c05346b4 (diff)
downloadgn-uploader-dbe33a9dc6a19106d86532eb0cd35c26607ac85d.tar.gz
Update to error log, because it's an error, even though we return 0.
-rw-r--r--scripts/load_phenotypes_to_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/load_phenotypes_to_db.py b/scripts/load_phenotypes_to_db.py
index 0f69f96..3868e19 100644
--- a/scripts/load_phenotypes_to_db.py
+++ b/scripts/load_phenotypes_to_db.py
@@ -288,8 +288,8 @@ def update_auth(# pylint: disable=[too-many-locals,too-many-positional-arguments
             # This is hacky. If the auth already exists, something went wrong
             # somewhere.
             # This needs investigation to recover correctly.
-            logger.info(
-                "The authorisation for the data was already set up.")
+            logger.error(
+                "Error: The authorisation for the data was already set up.")
             return 0
         logger.error("ERROR: Updating the authorisation for the data failed.")
         logger.debug(