8000 fix: Show errors in the dialog (#336) · iFun/vscode-leetcode@c64d981 · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Lines changed: 1 addition & 1 deletion
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)
0