mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
logging
This commit is contained in:
parent
4924a616f9
commit
e418f86f35
@ -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…
x
Reference in New Issue
Block a user