From 8cac790e6d680f85999f3f72b0d7bbe2081cb1a0 Mon Sep 17 00:00:00 2001 From: dali <dali@takima.fr> Date: Mon, 11 Jul 2022 12:18:51 +0200 Subject: [PATCH] fix: show error on console --- deadlock-plugins/deadlock-extension/src/core/controller.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deadlock-plugins/deadlock-extension/src/core/controller.ts b/deadlock-plugins/deadlock-extension/src/core/controller.ts index 8f7f779f..f61a10f0 100644 --- a/deadlock-plugins/deadlock-extension/src/core/controller.ts +++ b/deadlock-plugins/deadlock-extension/src/core/controller.ts @@ -199,8 +199,9 @@ export default class Controller { try { await missionDevcontainer.open(); - } catch { + } catch(e) { window.showErrorMessage('Impossible de lancer la mission'); + extensionError(e); } } } -- GitLab