We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 80e8651 + 1b72b88 commit 3aca594Copy full SHA for 3aca594
1 file changed
sentry_sdk/transport.py
@@ -106,7 +106,7 @@ class Transport(ABC):
106
107
def __init__(self: "Self", options: "Optional[Dict[str, Any]]" = None) -> None:
108
self.options = options
109
- if options and options["dsn"] is not None and options["dsn"]:
+ if options and options["dsn"]:
110
self.parsed_dsn = Dsn(options["dsn"], options.get("org_id"))
111
else:
112
self.parsed_dsn = None
0 commit comments