Skip to content

Commit

Permalink
Merge branch 'main' into update-examples-2
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrage authored Feb 21, 2024
2 parents c50b08f + 89957e4 commit b14a746
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/build-disk-image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,14 @@ export async function buildDiskImage(imageData: unknown, history: History) {
await extensionApi.window.showInformationMessage(
`Success! Your Bootable OS Container has been succesfully created to ${imagePath}`,
'OK',
'Cancel',
);
} else {
if (!errorMessage.endsWith('.')) {
errorMessage += '.';
}
await extensionApi.window.showErrorMessage(
`There was an error building the image: ${errorMessage}. Check logs at ${logPath}`,
`There was an error building the image: ${errorMessage} Check logs at ${logPath}`,
'OK',
'Cancel',
);
}
},
Expand Down

0 comments on commit b14a746

Please sign in to comment.