Skip to content

Commit 8be17f2

Browse files
committed
fix: Add doc comment
1 parent 1938a78 commit 8be17f2

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

sentry_sdk/integrations/wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def __call__(self, environ, start_response):
8484
scope._name = "wsgi"
8585
scope.add_event_processor(_make_wsgi_event_processor(environ))
8686

87-
with hub.trace(Span.continue_from_environ(environ)):
87+
with hub.trace(span=Span.continue_from_environ(environ)):
8888
try:
8989
rv = self.app(environ, start_response)
9090
except BaseException:

sentry_sdk/tracing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ def __init__(
6464
self._data = {} # type: Dict[str, Any]
6565
self._finished_spans = [] # type: List[Span]
6666
self.start_timestamp = datetime.now()
67+
68+
#: End timestamp of span
6769
self.timestamp = None
6870

6971
def __repr__(self):

0 commit comments

Comments
 (0)