log errors in catchCause instead of silently swallowing

This commit is contained in:
Kit Langton 2026-03-19 16:23:09 -04:00
parent 1af7d26a86
commit ce3f5d04d9

View file

@ -81,7 +81,7 @@ export namespace ToolRegistry {
})
const loadFiber = yield* load().pipe(
Effect.catchCause(() => Effect.void),
Effect.catchCause((cause) => Effect.sync(() => log.error("init failed", { cause }))),
Effect.forkScoped,
)