Skip to content

Commit c64d981

Browse files
authored
fix: Show errors in the dialog (LeetCode-OpenSource#336)
1 parent 650244e commit c64d981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/show.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async function showProblemInternal(node: IProblem): Promise<void> {
131131
),
132132
]);
133133
} catch (error) {
134-
await promptForOpenOutputChannel("Failed to show the problem. Please open the output channel for details.", DialogType.error);
134+
await promptForOpenOutputChannel(`${error} Please open the output channel for details.`, DialogType.error);
135135
}
136136
}
137137

0 commit comments

Comments
 (0)