From d63b18ebf974db8290d962b191baff6aa78e7866 Mon Sep 17 00:00:00 2001 From: Sheng Chen Date: Fri, 31 May 2019 16:00:49 +0800 Subject: [PATCH] fix: Show errors in the dialog --- src/commands/show.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/show.ts b/src/commands/show.ts index 6277241f..a0b23f64 100644 --- a/src/commands/show.ts +++ b/src/commands/show.ts @@ -131,7 +131,7 @@ async function showProblemInternal(node: IProblem): Promise { ), ]); } catch (error) { - await promptForOpenOutputChannel("Failed to show the problem. Please open the output channel for details.", DialogType.error); + await promptForOpenOutputChannel(`${error} Please open the output channel for details.`, DialogType.error); } }