log errors in catchCause instead of silently swallowing
parent
d3972f7107
commit
5f5546ee9b
|
|
@ -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…
Reference in New Issue