File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export class BrowserReporter implements Reporter {
1212 : error ;
1313
1414 Sentry . captureException ( errorToReport , {
15+ // `library` is injected last so user-supplied `tags` cannot shadow our provenance signal
1516 tags : { ...config . tags , library : '@power-rent/try-catch' } ,
1617 } ) ;
1718 }
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export class NodeReporter implements Reporter {
1212 : error ;
1313
1414 Sentry . captureException ( errorToReport , {
15+ // `library` is injected last so user-supplied `tags` cannot shadow our provenance signal
1516 tags : { ...config . tags , library : '@power-rent/try-catch' } ,
1617 } ) ;
1718 }
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export class SentryReporter implements Reporter {
1515 : error ;
1616
1717 Sentry . captureException ( errorToReport , {
18+ // `library` is injected last so user-supplied `tags` cannot shadow our provenance signal
1819 tags : { ...config . tags , library : '@power-rent/try-catch' } ,
1920 } ) ;
2021 }
You can’t perform that action at this time.
0 commit comments