diff --git a/packages/builder/src/components/backend/Datasources/TableImportSelection/index.svelte b/packages/builder/src/components/backend/Datasources/TableImportSelection/index.svelte index 1fc83d4978..3bc2457c99 100644 --- a/packages/builder/src/components/backend/Datasources/TableImportSelection/index.svelte +++ b/packages/builder/src/components/backend/Datasources/TableImportSelection/index.svelte @@ -57,7 +57,7 @@ {#if $store.error} {/if} diff --git a/packages/builder/src/stores/backend/datasources.js b/packages/builder/src/stores/backend/datasources.js index 9265f34b96..11184f2caa 100644 --- a/packages/builder/src/stores/backend/datasources.js +++ b/packages/builder/src/stores/backend/datasources.js @@ -11,15 +11,11 @@ import { TableNames } from "constants" class TableImportError extends Error { constructor(errors) { - super(`Error importing tables: ${Object.keys(errors).join(", ")}`) + super() this.name = "TableImportError" this.errors = errors } - get title() { - return `Error fetching tables` - } - get description() { let message = "" for (const key in this.errors) {