log errors in catchCause instead of silently swallowing
parent
080d3b93c6
commit
f495422fa9
|
|
@ -125,7 +125,7 @@ export namespace Plugin {
|
|||
})
|
||||
|
||||
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