scouter icon indicating copy to clipboard operation
scouter copied to clipboard

특정 오류를 빨간점 찍히지 않게 처리할수 없을까요?

Open lu8300test opened this issue 4 years ago • 2 comments

ClientAbortException: java.net.SocketException: Broken pipe (Write failed)

해당 오류는 무시할수 있는 오류인데 지속적으로 빨간점이 발생되니 눈에 거슬리더라구요..;; hook_exception_handler_exclude_class_patterns=ClientAbortException hook_exception_handler_exclude_class_patterns=java.net.SocketException.*

위 두가지 방식은 시도해 보았지만 그데로 였습니다...

lu8300test avatar Sep 15 '20 23:09 lu8300test

servlet에서 에러가 발생한 것에 대해서는 별도로 예외 처리할 수 있는 방법은 없습니다.

gunlee01 avatar Sep 16 '20 09:09 gunlee01

저도 동일서비스&동일에러 대해서 무시하고자 하는 에러들이 있었는데, 저는 에러 해쉬값을 찾아 collect 서버의 xlog plugin 에서 조건을 걸어 error 값을 0으로 변경했습니다.

if (“xxxxx".equals(service($pack)) && $pack.error == -1333779403) { $pack.error = 0; }

HoyongRyu avatar Sep 27 '20 23:09 HoyongRyu