Skip to content

Commit 2a0e883

Browse files
ref(scope): Improve Scope._capture_internal_exception type hint
1 parent 1f17f46 commit 2a0e883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/scope.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,9 +1191,9 @@ def capture_exception(self, error=None, scope=None, **scope_kwargs):
11911191
return None
11921192

11931193
def _capture_internal_exception(
1194-
self, exc_info # type: Any
1194+
self, exc_info # type: ExcInfo
11951195
):
1196-
# type: (...) -> Any
1196+
# type: (...) -> None
11971197
"""
11981198
Capture an exception that is likely caused by a bug in the SDK
11991199
itself.

0 commit comments

Comments
 (0)