summaryrefslogtreecommitdiff
path: root/frontend/src/errorboundary-hook.tsx
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2026-06-05 22:29:11 -0400
committerGitHub <noreply@github.com>2026-06-05 22:29:11 -0400
commit232fadd796087bbcbc4dd080cf12b42bf53b71ce (patch)
tree87296cb78420e61b581039f87bdab1ff5492b8dc /frontend/src/errorboundary-hook.tsx
parentacaf16521993f7e90206337f24e05649688554e4 (diff)
downloaddecky-loader-232fadd796087bbcbc4dd080cf12b42bf53b71ce.tar.gz
decky-loader-232fadd796087bbcbc4dd080cf12b42bf53b71ce.zip
fixes for june 2026 beta errorboundary (#916)v3.2.5-pre1
Co-authored-by: Beebles <102569435+beebls@users.noreply.github.com>
Diffstat (limited to 'frontend/src/errorboundary-hook.tsx')
-rw-r--r--frontend/src/errorboundary-hook.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/errorboundary-hook.tsx b/frontend/src/errorboundary-hook.tsx
index 2c69a267..70aa2188 100644
--- a/frontend/src/errorboundary-hook.tsx
+++ b/frontend/src/errorboundary-hook.tsx
@@ -24,7 +24,7 @@ class ErrorBoundaryHook extends Logger {
window.__ERRORBOUNDARY_HOOK_INSTANCE = this;
// valve writes only the sanest of code
- const exp = /^\(\)=>\(.\|\|.\(new .\),.\)$/;
+ const exp = /^\(\)=>\(.\|\|(?:.\(|\(.=)new .\),.\)$/;
const initErrorReportingStore = findModuleExport(
(e) => typeof e == 'function' && e?.toString && exp.test(e.toString()),
);