mirror of
https://github.com/kremalicious/umami.git
synced 2024-07-01 06:02:02 +02: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…
Reference in New Issue
Block a user