We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba09279 commit 1acb4d0Copy full SHA for 1acb4d0
sentry_sdk/integrations/openai_agents/patches/error_tracing.py
@@ -1,13 +1,14 @@
1
from functools import wraps
2
3
import sentry_sdk
4
+from sentry_sdk.consts import SPANSTATUS
5
from sentry_sdk.tracing_utils import set_span_errored
6
from ..utils import _record_exception_on_span
7
8
from typing import TYPE_CHECKING
9
10
if TYPE_CHECKING:
- from typing import Any
11
+ from typing import Any, Callable, Optional
12
13
14
def _patch_error_tracing():
0 commit comments