log api errors when sending to sentry w/ burnettk

This commit is contained in:
jasquat 2022-12-27 13:52:48 -05:00
parent 568c2b7f28
commit e3d381a23a

View File

@ -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