Skip to content

Commit 44f8f17

Browse files
committed
fix: Remove test code
1 parent 265760f commit 44f8f17

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/browser/src/integrations/trycatch.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ export class TryCatch implements Integration {
9898
fill(XMLHttpRequest.prototype, 'send', this._wrapXHR.bind(this));
9999
}
100100

101-
// if (this._options.eventTarget) {
102-
// const eventTarget = Array.isArray(this._options.eventTarget) ? this._options.eventTarget : DEFAULT_EVENT_TARGET;
103-
// eventTarget.forEach(this._wrapEventTarget.bind(this));
104-
// }
101+
if (this._options.eventTarget) {
102+
const eventTarget = Array.isArray(this._options.eventTarget) ? this._options.eventTarget : DEFAULT_EVENT_TARGET;
103+
eventTarget.forEach(this._wrapEventTarget.bind(this));
104+
}
105105
}
106106

107107
/** JSDoc */

0 commit comments

Comments
 (0)