From 487b8317e72d0252fe5dd3d92c2eb76c0c98fb2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Fri, 3 Dec 2021 21:58:08 +0100 Subject: [PATCH] Adding stacktrace to error message in console --- front/src/Phaser/Reconnecting/ErrorScene.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/front/src/Phaser/Reconnecting/ErrorScene.ts b/front/src/Phaser/Reconnecting/ErrorScene.ts index f66c5f83..7ba7146f 100644 --- a/front/src/Phaser/Reconnecting/ErrorScene.ts +++ b/front/src/Phaser/Reconnecting/ErrorScene.ts @@ -74,6 +74,7 @@ export class ErrorScene extends Phaser.Scene { */ public static showError(error: unknown, scene: ScenePlugin): void { console.error(error); + console.trace(); if (typeof error === "string" || error instanceof String) { scene.start(ErrorSceneName, {