Closed AiNi1823 closed 3 months ago
添加一个闭包,记录错误并返回一个带有详细错误信息的 Box,在调用 upstream_request_filter 后使用 map_err 处理错误,提高代码的可读性。
Hey @AiNi1823, actually I just got some more feedback internally, and these types of things are logged in a later phase, so we avoid ad-hoc error logging before that. Thanks again!
添加一个闭包,记录错误并返回一个带有详细错误信息的 Box,在调用 upstream_request_filter 后使用 map_err 处理错误,提高代码的可读性。