Skip to content

Commit 779f129

Browse files
Merge pull request #387 from REANNZ/fix_logging_remove_arg
fix: do not pass extra arg to logging.error
2 parents e7f281c + bf39e06 commit 779f129

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/satosa/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def _run_bound_endpoint(self, context, spec):
185185
err_id=error.error_id, state=state
186186
)
187187
logline = lu.LOG_FMT.format(id=lu.get_session_id(context.state), message=msg)
188-
logger.error(logline, error.state, exc_info=True)
188+
logger.error(logline, exc_info=True)
189189
return self._handle_satosa_authentication_error(error)
190190

191191
def _load_state(self, context):

0 commit comments

Comments
 (0)