mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
logging
This commit is contained in:
parent
4924a616f9
commit
e418f86f35
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ function getDatabaseType() {
|
||||||
const databaseType = getDatabaseType();
|
const databaseType = getDatabaseType();
|
||||||
|
|
||||||
if (!databaseType || !['mysql', 'postgresql'].includes(databaseType)) {
|
if (!databaseType || !['mysql', 'postgresql'].includes(databaseType)) {
|
||||||
|
console.log(databaseType);
|
||||||
throw new Error('Missing or invalid database');
|
throw new Error('Missing or invalid database');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue