mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-01 12:29:35 +01:00
Merge pull request #2786 from IvanGnusarkov/db-check-error-msg
added error message when db connection check fails
This commit is contained in:
commit
c1cddc3806
@ -44,7 +44,7 @@ async function checkConnection() {
|
||||
|
||||
success('Database connection successful.');
|
||||
} catch (e) {
|
||||
throw new Error('Unable to connect to the database.');
|
||||
throw new Error('Unable to connect to the database: ' + e.message);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user