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); } }