fix(sync): Ignore AsyncRequestNotUsableException in GlobalExceptionHandler
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 3m14s

This commit is contained in:
jade
2026-08-14 17:14:48 +09:00
parent 6e65228fb9
commit f70ee854ec

View File

@@ -39,6 +39,12 @@ public class GlobalExceptionHandler {
return buildErrorResponse(-32602, "Invalid params: " + e.getMessage());
}
@ExceptionHandler(org.springframework.web.context.request.async.AsyncRequestNotUsableException.class)
public ResponseEntity<Void> handleAsyncRequestNotUsable(org.springframework.web.context.request.async.AsyncRequestNotUsableException e) {
log.debug(" [Gateway Info] 클라이언트가 비동기 연결을 종료했습니다 (정상): {}", e.getMessage());
return ResponseEntity.ok().build();
}
@ExceptionHandler(RuntimeException.class)
public ResponseEntity<JsonRpcResponse> handleRuntime(RuntimeException e) {
log.error(" [Gateway Internal Error] 시스템 장애: {}", e.getMessage(), e);