Skip to content

Commit

Permalink
remove log annotation from server loop
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Feb 4, 2025
1 parent 7022f53 commit f671119
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/rpc/src/RpcServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,10 +580,7 @@ export const make: <Rpcs extends Rpc.Any>(
}
return yield* Effect.never
}).pipe(
Effect.tapErrorCause(Effect.logError),
Effect.annotateLogs({
module: "RpcServer"
})
Effect.tapErrorCause((cause) => Effect.logFatal("BUG: RpcServer loop crashed", cause))
)
}, Effect.scoped)

Expand Down

0 comments on commit f671119

Please sign in to comment.