feat: inform host that DB has not been set

pull/245/head
Josh Moore 1 year ago
parent c81541b667
commit ec97d0a3b6
No known key found for this signature in database
GPG Key ID: D448BA776D2B1D45

@ -131,6 +131,7 @@ async function main() {
} }
} catch (err) { throw new Error(`Failed to configure SQL`); } } catch (err) { throw new Error(`Failed to configure SQL`); }
} else { // default to json database } else { // default to json database
log.debug('DB not set! Defaulting to JSON');
await DBManager.use(new JSONDatabase()); await DBManager.use(new JSONDatabase());
} }

Loading…
Cancel
Save