mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 09:45:04 +01:00
logging
This commit is contained in:
parent
4924a616f9
commit
e418f86f35
@ -18,6 +18,7 @@ function getDatabaseType() {
|
||||
const databaseType = getDatabaseType();
|
||||
|
||||
if (!databaseType || !['mysql', 'postgresql'].includes(databaseType)) {
|
||||
console.log(databaseType);
|
||||
throw new Error('Missing or invalid database');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user