You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
比如说,ServerRestArgsFilter这个filter在校验接口入参的时候抛的异常信息,Parameter is not valid for operation [%s]. Parameter is [%s]. Processor is [%s]. Message is [%s].
业务想要对接口入参类型的异常进行告警
背景
当业务定制的filter或者servicecomb自带的filter出现异常时,想要根据对应的异常类型或异常信息来记录日志或告警
分析
查看servicecomb源码,发现ExceptionToProducerResponseConverter只能在业务执行业务逻辑阶段抛出异常才会捕获, Handler,HttpServerFilter 等抛出的异常当前没有通用的拦截机制
诉求
能够针对Handler,HttpServerFilter 等抛出的异常也提供类似异常捕获器的能力
The text was updated successfully, but these errors were encountered: