log errors in catchCause instead of silently swallowing

kit/skill-lazy-init
Kit Langton 2026-03-19 16:21:57 -04:00
parent d3972f7107
commit 5f5546ee9b
1 changed files with 1 additions and 1 deletions

View File

@ -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,
)