mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-29 19:34:32 +00:00
log errors in catchCause instead of silently swallowing
This commit is contained in:
parent
d3972f7107
commit
5f5546ee9b
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ export namespace Skill {
|
|||
})
|
||||
|
||||
const loadFiber = yield* load().pipe(
|
||||
Effect.catchCause(() => Effect.void),
|
||||
Effect.catchCause((cause) => Effect.sync(() => log.error("init failed", { cause }))),
|
||||
Effect.forkScoped,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue