Add logger to avoid crash

This commit is contained in:
Daniel Hougaard
2024-02-22 05:00:40 +01:00
parent fb9cdb591c
commit 178492e9bd
+1 -1
View File
@@ -14,7 +14,7 @@ export const DEFAULT_PROJECT_ENVS = [
]; ];
export async function seed(knex: Knex): Promise<void> { export async function seed(knex: Knex): Promise<void> {
initEnvConfig(); initEnvConfig(await initLogger());
const appCfg = getConfig(); const appCfg = getConfig();
// Deletes ALL existing entries // Deletes ALL existing entries
await knex(TableName.Project).del(); await knex(TableName.Project).del();