log errors in catchCause instead of silently swallowing
This commit is contained in:
parent
080d3b93c6
commit
f495422fa9
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ export namespace Plugin {
|
||||||
})
|
})
|
||||||
|
|
||||||
const loadFiber = yield* load().pipe(
|
const loadFiber = yield* load().pipe(
|
||||||
Effect.catchCause(() => Effect.void),
|
Effect.catchCause((cause) => Effect.sync(() => log.error("init failed", { cause }))),
|
||||||
Effect.forkScoped,
|
Effect.forkScoped,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue