mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(editor): Fix issue that some errors did not show up correctly (#3507)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user