Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 2, 2025
1 parent 0c210a3 commit a7e3176
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/structlog/tracebacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ def extract(
stack = Stack(
exc_type=safe_str(exc_type.__name__),
exc_value=safe_str(exc_value),
exc_notes=tuple(safe_str(note) for note in getattr(exc_value, "__notes__", ())),
exc_notes=tuple(
safe_str(note) for note in getattr(exc_value, "__notes__", ())
),
is_cause=is_cause,
)

Expand Down

0 comments on commit a7e3176

Please sign in to comment.