Skip to content

Commit 6eb9a60

Browse files
committed
feat: add debug code for handler
Signed-off-by: ImMin5 <mino@megazone.com>
1 parent 775299b commit 6eb9a60

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/cloudforet/console_api_v2/handler/authentication_handler.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,8 @@ def _extract_token_info(token: str):
3131
token,
3232
options={"verify_signature": False},
3333
)
34-
3534
token_info = decoded_payload
36-
3735
return token_info
3836

3937
except Exception as e:
40-
_LOOGER.error(f"Failed to decode token: {e}")
41-
raise ERROR_PERMISSION_DENIED()
38+
_LOOGER.error(f"Failed to decode token: {e}, {token}", exc_info=True)

0 commit comments

Comments
 (0)