mirror of
https://github.com/sartography/spiffworkflow-backend.git
synced 2025-02-23 12:58:13 +00:00
log api errors when sending to sentry w/ burnettk
This commit is contained in:
parent
568c2b7f28
commit
e3d381a23a
@ -295,7 +295,6 @@ def get_decoded_token(token: str) -> Optional[Dict]:
|
||||
try:
|
||||
decoded_token = jwt.decode(token, options={"verify_signature": False})
|
||||
except Exception as e:
|
||||
print(f"Exception in get_token_type: {e}")
|
||||
raise ApiError(
|
||||
error_code="invalid_token", message="Cannot decode token."
|
||||
) from e
|
||||
|
Loading…
x
Reference in New Issue
Block a user