zio-http
zio-http copied to clipboard
Add config value to log `Throwable` and `Cause` to `ErrorResponseConfig`
If turned on, logs internal errors including Endpoint API codec errors, which can currently only be configured to be returned as bodies
I think we should do codec errors differently (if the user doesn't specify a way to map them to response) because a user expects them to be handled inside ZIO HTTP and they cannot leak internal details if done properly.