diff --git a/core/config/ProfileLifecycleManager.ts b/core/config/ProfileLifecycleManager.ts index d93ab9236..d0b830440 100644 --- a/core/config/ProfileLifecycleManager.ts +++ b/core/config/ProfileLifecycleManager.ts @@ -95,7 +95,10 @@ export class ProfileLifecycleManager { try { result = await this.profileLoader.doLoadConfig(); } catch (e) { - const message = e instanceof Error ? e.message : "Error loading config"; + const message = + e instanceof Error + ? `${e.message}\n${e.stack ? e.stack : ""}` + : "Error loading config"; result = { errors: [ {