diff options
author | Frederick Muriuki Muriithi | 2024-06-06 16:40:41 -0500 |
---|---|---|
committer | Alexander_Kabui | 2024-08-28 15:02:45 +0300 |
commit | f0e1c1305f9613f214b40da77de5bd9222f2359e (patch) | |
tree | 372ac9b7757f9ab848125821b67bc554812fa884 /gn2 | |
parent | e4fc0eb4ed80931bbd36f3777b06d9343a2008d0 (diff) | |
download | genenetwork2-f0e1c1305f9613f214b40da77de5bd9222f2359e.tar.gz |
Fix displayed error message
Diffstat (limited to 'gn2')
-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 { |