Skip to content

Commit f6f272d

Browse files
Update packages/snaps-controllers/src/snaps/SnapController.ts
Co-authored-by: Maarten Zuidhoorn <[email protected]>
1 parent 18ebe6d commit f6f272d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/snaps-controllers/src/snaps/SnapController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ export class SnapController extends BaseController<
15101510
_onUnhandledSnapError(snapId: string, error: SnapErrorJson) {
15111511
// Log the error that caused the crash
15121512
// so it gets raised to the developer for debugging purposes.
1513-
logError(error);
1513+
logError(`Unhandled error from "${snapId}": ${error}`);
15141514
this.stopSnap(snapId as SnapId, SnapStatusEvents.Crash).catch(
15151515
(stopSnapError) => {
15161516
// TODO: Decide how to handle errors.

0 commit comments

Comments
 (0)