We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dab8b24 commit e69b119Copy full SHA for e69b119
packages/snaps-controllers/src/snaps/SnapController.ts
@@ -1510,7 +1510,7 @@ export class SnapController extends BaseController<
1510
_onUnhandledSnapError(snapId: string, error: SnapErrorJson) {
1511
// Log the error that caused the crash
1512
// so it gets raised to the developer for debugging purposes.
1513
- logError(`Unhandled error from "${snapId}": ${error}`);
+ logError(`Unhandled error from "${snapId}":`, error);
1514
this.stopSnap(snapId as SnapId, SnapStatusEvents.Crash).catch(
1515
(stopSnapError) => {
1516
// TODO: Decide how to handle errors.
0 commit comments