We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3922a82 commit 6378082Copy full SHA for 6378082
1 file changed
packages/opencode/src/config/config.ts
@@ -1,3 +1,4 @@
1
+import * as Cause from "effect/Cause"
2
import * as Log from "@opencode-ai/core/util/log"
3
import { serviceUse } from "@opencode-ai/core/effect/service-use"
4
import path from "path"
@@ -429,7 +430,7 @@ export const layer = Layer.effect(
429
430
}).pipe(
431
Effect.catchCause((cause) =>
432
Effect.sync(() => {
- log.error("invalid config: config file could not be parsed", { path: source })
433
+ log.error("invalid config: config file could not be parsed", { path: source, cause: Cause.pretty(cause) })
434
return Schema.decodeSync(Info)({})
435
}),
436
),
0 commit comments