We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6815bc6 commit bf39690Copy full SHA for bf39690
1 file changed
sentry_sdk/traces.py
@@ -278,12 +278,9 @@ def __init__(
278
self._start_timestamp = datetime.now(timezone.utc)
279
self._timestamp: "Optional[datetime]" = None
280
281
- try:
282
- # profiling depends on this value and requires that
283
- # it is measured in nanoseconds
284
- self._start_timestamp_monotonic_ns = nanosecond_time()
285
- except AttributeError:
286
- self._start_timestamp_monotonic_ns = None
+ # profiling depends on this value and requires that
+ # it is measured in nanoseconds
+ self._start_timestamp_monotonic_ns = nanosecond_time()
287
288
self._span_id: "Optional[str]" = None
289
0 commit comments