Skip to content

Commit fc99334

Browse files
Fix formatting
1 parent f6f272d commit fc99334

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(`Unhandled error from "${snapId}": ${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)