We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab08b7e commit 7806481Copy full SHA for 7806481
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