mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
added error message when db connection check fails
This commit is contained in:
parent
7a75639dd3
commit
4c88a97698
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue