diff options
| author | Frederick Muriuki Muriithi <fredmanglis@gmail.com> | 2026-10-14 10:04:50 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi <fredmanglis@gmail.com> | 2026-10-14 10:04:50 -0500 |
| commit | b6d95c2ff301e572f024f525f6b5b81e73dafe5b (patch) | |
| tree | d0ba1c66b567f8c31ffe238f23de30e249ed1eff /scripts | |
| parent | 2933f3c336d84fc18ef0367f4c501a852b0fd7a4 (diff) | |
| download | gn-uploader-b6d95c2ff301e572f024f525f6b5b81e73dafe5b.tar.gz | |
Log out error to help with troubleshooting failures.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/load_phenotypes_to_db.py | 1 |
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 |
