Skip to content

Commit

Permalink
FIX: __tracebackhide__ suppresses important details in Sentry 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Jan 23, 2024
1 parent 47b073e commit 5a38deb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion combadge/core/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ def __exit__( # type: ignore[misc]
traceback: TracebackType | None,
/,
) -> None:
__tracebackhide__ = True
if exc_value is not None:
raise cls(exc_value) from exc_value

Expand Down
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ classifiers = [
"Typing :: Typed",
]

[tool.black]
line-length = 120
target_version = ["py38", "py39", "py310", "py311"]

[tool.mypy]
allow_redefinition = true
allow_untyped_globals = true
Expand Down

0 comments on commit 5a38deb

Please sign in to comment.