fix(editor): Show execution error toast also if there is no error stack just message (#9526)

This commit is contained in:
Csaba Tuncsik
2024-05-29 14:57:01 +02:00
committed by GitHub
parent 6698179a69
commit f914c97d11
4 changed files with 115 additions and 3 deletions

View File

@@ -1328,7 +1328,10 @@ export default defineComponent({
}
}
if (!nodeErrorFound && data.data.resultData.error.stack) {
if (
!nodeErrorFound &&
(data.data.resultData.error.stack || data.data.resultData.error.message)
) {
// Display some more information for now in console to make debugging easier
console.error(`Execution ${executionId} error:`);
console.error(data.data.resultData.error.stack);