fix(sync): Ignore AsyncRequestNotUsableException in GlobalExceptionHandler
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 3m14s
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 3m14s
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user