summaryrefslogtreecommitdiff
path: root/frontend/src/utils/errors.ts
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2024-06-27 00:08:13 -0400
committerAAGaming <aagaming@riseup.net>2024-06-27 00:08:13 -0400
commitc36f1985bda3754a52f87757a8fba1c8256ed9b8 (patch)
tree4e06235a97307f46ce49ba5686a73e3af8461adb /frontend/src/utils/errors.ts
parentfc52cf53ee674a11e4e68c880c93c8b2c07652da (diff)
downloaddecky-loader-c36f1985bda3754a52f87757a8fba1c8256ed9b8.tar.gz
decky-loader-c36f1985bda3754a52f87757a8fba1c8256ed9b8.zip
improve error checking logic
Diffstat (limited to 'frontend/src/utils/errors.ts')
-rw-r--r--frontend/src/utils/errors.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/utils/errors.ts b/frontend/src/utils/errors.ts
index 0bf82986..35122ebb 100644
--- a/frontend/src/utils/errors.ts
+++ b/frontend/src/utils/errors.ts
@@ -22,7 +22,7 @@ export function getLikelyErrorSourceFromValveError(error: ValveError): ErrorSour
}
export function getLikelyErrorSourceFromValveReactError(error: ValveReactErrorInfo): ErrorSource {
- return getLikelyErrorSource(error?.error?.stack);
+ return getLikelyErrorSource(error?.error?.stack + "\n" + error.info.componentStack);
}
export function getLikelyErrorSource(error?: string): ErrorSource {