1
0
Fork 0
mirror of synced 2024-10-05 20:44:47 +13:00

Improve messaging

This commit is contained in:
Adria Navarro 2023-05-23 15:58:50 +02:00
parent 3951788f7e
commit 6659a697de
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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) {