fix(editor): Show execution error toast also if there is no error stack just message (#9526)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user