better logging

This commit is contained in:
Nate 2025-04-22 07:21:11 -07:00
parent b0cc14ae2f
commit e32a187a40

View file

@ -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: [
{