oscartbeaumont / rspc

A framework for building typesafe web backends in Rust
https://rspc.dev
MIT License
1.1k stars 50 forks source link

how to log errors on server side. #197

Closed wangbinyq closed 11 months ago

wangbinyq commented 11 months ago

There is an onError function on client, middleware resp only called on success response.

I can't find any solution to log errors on server side.

wangbinyq commented 11 months ago

I found that add "tracing" feature to "rspc" does what i want.