From 983fcf3014418074cff502082508fe7e7e0c6e07 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Fri, 14 Jun 2024 20:34:08 -0400 Subject: RUN LINTER AGAINNNNNNN --- frontend/src/errorboundary-hook.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'frontend/src/errorboundary-hook.tsx') diff --git a/frontend/src/errorboundary-hook.tsx b/frontend/src/errorboundary-hook.tsx index 535c6135..4fb9b4e8 100644 --- a/frontend/src/errorboundary-hook.tsx +++ b/frontend/src/errorboundary-hook.tsx @@ -49,7 +49,12 @@ class ErrorBoundaryHook extends Logger { const react15069WorkaroundRegex = / at .+\.componentDidCatch\..+\.callback /; this.errorCheckPatch = replacePatch(Object.getPrototypeOf(errorReportingStore), 'BIsBlacklisted', (args: any[]) => { const [errorSource, wasPlugin, shouldReport] = getLikelyErrorSourceFromValveError(args[0]); - this.debug('Caught an error', args, { errorSource, wasPlugin, shouldReport, skipAllReporting: this.doNotReportErrors }); + this.debug('Caught an error', args, { + errorSource, + wasPlugin, + shouldReport, + skipAllReporting: this.doNotReportErrors, + }); // react#15069 workaround. this took 2 hours to figure out. if ( args[0]?.message?.[3]?.[0] && -- cgit v1.2.3