Skip to content

Commit

Permalink
fix: unintended breaking change with logging function (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanl-slalom authored Jul 25, 2023
1 parent 5c8411d commit 6b0bfcc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions secureli/services/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,15 @@ def failure(
self,
action: LogAction,
details: str,
total_failure_count: Optional[int],
individual_failure_count: Optional[object],
total_failure_count: Optional[int] = None,
individual_failure_count: Optional[object] = None,
) -> LogEntry:
"""
Capture a failure against an action, with details
:param action: The action that failed
:param details: Details about the failure
:param total_failure_count: The total failure count
:param individual_failure_count: The individual failure count
"""
secureli_config = self.secureli_config.load()
hook_config = (
Expand Down

0 comments on commit 6b0bfcc

Please sign in to comment.