Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 016fc20

Browse files
author
David Robertson
committed
Keep MacaroonInitException logged as exceptions
Seems to be a legit application bug. See #12787.
1 parent d186cf5 commit 016fc20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/handlers/oidc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ async def handle_oidc_callback(self, request: SynapseRequest) -> None:
220220
session, state
221221
)
222222
except (MacaroonInitException, MacaroonDeserializationException, KeyError) as e:
223-
logger.warning("Invalid session for OIDC callback: %s", e)
223+
logger.exception("Invalid session for OIDC callback")
224224
self._sso_handler.render_error(request, "invalid_session", str(e))
225225
return
226226
except MacaroonInvalidSignatureException as e:

0 commit comments

Comments
 (0)