mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 15:02:03 +00:00
RUN LINTER AGAINNNNNNN
This commit is contained in:
@@ -49,7 +49,12 @@ class ErrorBoundaryHook extends Logger {
|
|||||||
const react15069WorkaroundRegex = / at .+\.componentDidCatch\..+\.callback /;
|
const react15069WorkaroundRegex = / at .+\.componentDidCatch\..+\.callback /;
|
||||||
this.errorCheckPatch = replacePatch(Object.getPrototypeOf(errorReportingStore), 'BIsBlacklisted', (args: any[]) => {
|
this.errorCheckPatch = replacePatch(Object.getPrototypeOf(errorReportingStore), 'BIsBlacklisted', (args: any[]) => {
|
||||||
const [errorSource, wasPlugin, shouldReport] = getLikelyErrorSourceFromValveError(args[0]);
|
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.
|
// react#15069 workaround. this took 2 hours to figure out.
|
||||||
if (
|
if (
|
||||||
args[0]?.message?.[3]?.[0] &&
|
args[0]?.message?.[3]?.[0] &&
|
||||||
|
|||||||
Reference in New Issue
Block a user