Skip to content

Commit

Permalink
🔥 删除 GlobalExceptionConfiguration.java 作用和 GlobalExceptionHandler.jav…
Browse files Browse the repository at this point in the history
…a 重复
  • Loading branch information
lbw committed Sep 11, 2023
1 parent ee1b674 commit 5438d26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 61 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.web.reactive.error.ErrorWebExceptionHandler;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;
import org.springframework.core.io.buffer.DataBufferFactory;
import org.springframework.http.MediaType;
Expand All @@ -39,6 +40,7 @@
*/
@Slf4j
@Order(-1)
@Configuration
@RequiredArgsConstructor
public class GlobalExceptionHandler implements ErrorWebExceptionHandler {

Expand Down

0 comments on commit 5438d26

Please sign in to comment.