Skip to content

Commit

Permalink
exception logging in base error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpricethesecond committed Sep 13, 2024
1 parent 4a1c359 commit 11abf76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion service/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11abf76

Please sign in to comment.