diff options
author | Frederick Muriuki Muriithi | 2024-06-06 16:40:41 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-06-06 16:40:41 -0500 |
commit | 86db47465fbe2c0d7e4f489b53ce21d33db8e8d2 (patch) | |
tree | 64bbc784c37d1d5cd800388e1abf86378a207622 | |
parent | c1af1940cca1ae54d424632e8c5f06b55cae071a (diff) | |
download | genenetwork2-86db47465fbe2c0d7e4f489b53ce21d33db8e8d2.tar.gz |
Fix displayed error message
-rw-r--r-- | gn2/wqflask/oauth2/request_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/oauth2/request_utils.py b/gn2/wqflask/oauth2/request_utils.py index 1cdc465f..456aba2b 100644 --- a/gn2/wqflask/oauth2/request_utils.py +++ b/gn2/wqflask/oauth2/request_utils.py @@ -36,7 +36,7 @@ def process_error(error: Response, try: err = error.json() msg = err.get( - "error", err.get("error_description", f"{error.reason}")) + "error_message", err.get("error_description", f"{error.reason}")) except simplejson.errors.JSONDecodeError as _jde: msg = message return { |