diff options
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 |
