core: use Exception for fallback case in flow_manager

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2022-07-04 20:05:03 +02:00
parent 47acc0ea90
commit 6a497b32f6
2 changed files with 9 additions and 13 deletions

View File

@ -167,7 +167,7 @@ class SourceFlowManager:
self._logger.warning("Flow non applicable", exc=exc)
return self.error_handler(exc)
# Default case, assume deny
error = (
error = Exception(
_(
(
"Request to authenticate with %(source)s has been denied. Please authenticate "