diff --git a/packages/builder/src/components/backend/DatasourceNavigator/modals/DatasourceConfigModal.svelte b/packages/builder/src/components/backend/DatasourceNavigator/modals/DatasourceConfigModal.svelte index f5d57285bb..5394510122 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/modals/DatasourceConfigModal.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/modals/DatasourceConfigModal.svelte @@ -29,7 +29,7 @@ try { const resp = await validateDatasourceConfig(datasource) if (!resp.connected) { - displayError(resp.error) + displayError(`Unable to connect - ${resp.error}`) } connected = resp.connected } catch (err) { diff --git a/packages/builder/src/pages/builder/app/[application]/data/datasource/[datasourceId]/index.svelte b/packages/builder/src/pages/builder/app/[application]/data/datasource/[datasourceId]/index.svelte index 850e92c772..f33860bb69 100644 --- a/packages/builder/src/pages/builder/app/[application]/data/datasource/[datasourceId]/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/data/datasource/[datasourceId]/index.svelte @@ -54,7 +54,7 @@ try { const resp = await API.validateDatasource(datasource) if (!resp.connected) { - displayError(`Error connecting to the datasource: ` + resp.error) + displayError(`Unable to connect - ${resp.error}`) } connected = resp.connected } catch (err) {