mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -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') }}
|
<font-awesome-icon class="error-details__icon" icon="angle-right" /> {{ $locale.baseText('nodeErrorView.details') }}
|
||||||
</summary>
|
</summary>
|
||||||
<div class="error-details__content">
|
<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">
|
<el-card class="box-card" shadow="never">
|
||||||
<div>
|
<div>
|
||||||
{{error.context.causeDetailed}}
|
{{error.context.causeDetailed}}
|
||||||
|
@ -140,7 +140,7 @@ export default mixins(
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getErrorMessage (): string {
|
getErrorMessage (): string {
|
||||||
if (!this.error.context.messageTemplate) {
|
if (!this.error.context || !this.error.context.messageTemplate) {
|
||||||
return this.error.message;
|
return this.error.message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue