Skip to content

Commit 2e439ed

Browse files
committed
Sem-Ver: feature Log information on general exceptions in addition to specific exceptions.
Signed-off-by: David Black <dblack@atlassian.com>
1 parent 42a18e3 commit 2e439ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • atlassian_jwt_auth/frameworks/common

atlassian_jwt_auth/frameworks/common/asap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def _process_asap_token(request, backend, settings, verifier=None):
7070
error_response = backend.get_401_response(
7171
'Unauthorized: Subject and Issuer do not match', request=request
7272
)
73-
except ValueError:
73+
except Exception:
7474
logger.exception('An error occured while checking an asap token')
7575
raise
7676

0 commit comments

Comments
 (0)