Skip to content

Commit 655f433

Browse files
committed
dont mess up size bot
1 parent d8689c3 commit 655f433

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/browser/src/integrations/globalhandlers.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ export class GlobalHandlers implements Integration {
183183
*/
184184
// eslint-disable-next-line @typescript-eslint/no-explicit-any
185185
private _eventFromIncompleteOnError(msg: any, url: any, line: any, column: any): Event {
186-
const ERROR_TYPES_RE =
187-
/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
186+
const ERROR_TYPES_RE = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
188187

189188
// If 'message' is ErrorEvent, get real message from inside
190189
let message = isErrorEvent(msg) ? msg.message : msg;

0 commit comments

Comments
 (0)