mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
fix(editor): Fix issue that some errors did not show up correctly (#3507)
This commit is contained in:
parent
9ff57629c5
commit
955db0ab10
|
@ -9,7 +9,7 @@
|
|||
<font-awesome-icon class="error-details__icon" icon="angle-right" /> {{ $locale.baseText('nodeErrorView.details') }}
|
||||
</summary>
|
||||
<div class="error-details__content">
|
||||
<div v-if="error.context.causeDetailed">
|
||||
<div v-if="error.context && error.context.causeDetailed">
|
||||
<el-card class="box-card" shadow="never">
|
||||
<div>
|
||||
{{error.context.causeDetailed}}
|
||||
|
@ -140,7 +140,7 @@ export default mixins(
|
|||
},
|
||||
methods: {
|
||||
getErrorMessage (): string {
|
||||
if (!this.error.context.messageTemplate) {
|
||||
if (!this.error.context || !this.error.context.messageTemplate) {
|
||||
return this.error.message;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue