Improve errors reporting

This commit is contained in:
2023-12-12 01:32:18 +01:00
parent 2a52b5c035
commit bc15846b67
8 changed files with 68 additions and 16 deletions

View File

@ -23,7 +23,7 @@ export function CreateVMRoute(): React.ReactElement {
navigate(v.ViewURL);
} catch (e) {
console.error(e);
alert("Failed to create VM!");
alert(`Failed to create VM!\n${e}`);
}
};