Skip to content

Commit 955db0a

Browse files
authored
fix(editor): Fix issue that some errors did not show up correctly (n8n-io#3507)
1 parent 9ff5762 commit 955db0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/editor-ui/src/components/Error/NodeErrorView.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<font-awesome-icon class="error-details__icon" icon="angle-right" /> {{ $locale.baseText('nodeErrorView.details') }}
1010
</summary>
1111
<div class="error-details__content">
12-
<div v-if="error.context.causeDetailed">
12+
<div v-if="error.context && error.context.causeDetailed">
1313
<el-card class="box-card" shadow="never">
1414
<div>
1515
{{error.context.causeDetailed}}
@@ -140,7 +140,7 @@ export default mixins(
140140
},
141141
methods: {
142142
getErrorMessage (): string {
143-
if (!this.error.context.messageTemplate) {
143+
if (!this.error.context || !this.error.context.messageTemplate) {
144144
return this.error.message;
145145
}
146146

0 commit comments

Comments
 (0)