logging
This commit is contained in:
1 parent
4924a616f9
commit
e418f86f35
1 file changed
+1
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user