log errors in catchCause instead of silently swallowing
parent
1af7d26a86
commit
ce3f5d04d9
|
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue