Skip to content

Commit

Permalink
Fix typo in error handler for BadRequest
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Kanakarakis <[email protected]>
  • Loading branch information
c00kiemon5ter committed Nov 6, 2024
1 parent c3dc711 commit 75c325b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/satosa/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def run(self, context):
if generic_error_url:
redirect_url = f"{generic_error_url}?errorid={error_id}"
return Redirect(generic_error_url)
return BadRequest(error)
return BadRequest(e.error)
except SATOSAMissingStateError as e:
error_id = uuid.uuid4().urn
msg = {
Expand Down

0 comments on commit 75c325b

Please sign in to comment.