Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Add logger to avoid crash

Daniel Hougaard178492e9bd1d
diff --git a/backend/src/db/seeds/3-project.ts b/backend/src/db/seeds/3-project.ts
index 9887373fdc..05feda4ef5 100644
--- a/backend/src/db/seeds/3-project.ts
+++ b/backend/src/db/seeds/3-project.ts
@@ -14,7 +14,7 @@ export const DEFAULT_PROJECT_ENVS = [
];
export async function seed(knex: Knex): Promise<void> {
- initEnvConfig();
+ initEnvConfig(await initLogger());
const appCfg = getConfig();
// Deletes ALL existing entries
await knex(TableName.Project).del();