We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3145321 commit 1a81dacCopy full SHA for 1a81dac
src/extension/ui/src/FileUtils.ts
@@ -10,7 +10,7 @@ export const tryRunImageSync = async (client: v1.DockerDesktopClient, args: stri
10
const showError = ignoreError ? () => { } : client.desktopUI.toast.error
11
try {
12
const result = await client.docker.cli.exec('run', args)
13
- if (result.stderr) {
+ if (result.code !== undefined && result.code != 0 && result.stderr) {
14
showError(result.stderr)
15
}
16
return result.stdout || ''
0 commit comments