File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ export interface BrowserTransportOptions extends BaseTransportOptions {
21
21
export function setupBrowserTransport ( options : BrowserOptions ) : NewTransport {
22
22
const transportOptions : TransportOptions = {
23
23
...options . transportOptions ,
24
- // @ts -ignore figure out dsn stuff
25
- dsn : options . dsn ,
24
+ dsn : options . dsn || '' ,
26
25
tunnel : options . tunnel ,
27
26
sendClientReports : options . sendClientReports ,
28
27
_metadata : options . _metadata ,
Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ export function setupNodeTransport(options: NodeOptions): NewTransport {
13
13
...( options . httpProxy && { httpProxy : options . httpProxy } ) ,
14
14
...( options . httpsProxy && { httpsProxy : options . httpsProxy } ) ,
15
15
...( options . caCerts && { caCerts : options . caCerts } ) ,
16
- // @ts -ignore Come back to this
17
- // TODO(v7): Figure out how to enforce dsn
18
- dsn : options . dsn ,
16
+ dsn : options . dsn || '' ,
19
17
tunnel : options . tunnel ,
20
18
_metadata : options . _metadata ,
21
19
} ;
You can’t perform that action at this time.
0 commit comments