From 11abf760bbecb92e9616b5d31a6012ce783dfb4e Mon Sep 17 00:00:00 2001 From: kevinpricethesecond Date: Fri, 13 Sep 2024 11:46:23 -0500 Subject: [PATCH] exception logging in base error handling --- service/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/service/utils.py b/service/utils.py index f6eaea3..7b32671 100644 --- a/service/utils.py +++ b/service/utils.py @@ -188,7 +188,8 @@ def get_valid_token(client_id, refresh_token): def handle_transfer_error(exception, endpoint_id=None, msg=None): '''Tanslates transfer api errors into the configured basetapiserrors in ./errors.py''' - logger.debug('in handle transfer error') + # logger.debug('in handle transfer error') + logger.exception(exception.__cause__) message = None try: message = exception.message