File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
back/src/main/java/com/back/global/globalExceptionHandler Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -148,17 +148,17 @@ public ResponseEntity<RsData<Void>> handle(ServiceException ex) {
148148 );
149149 }
150150
151- @ ExceptionHandler (Exception .class )
152- public ResponseEntity <RsData <Void >> handle (Exception ex ) {
153- log .error ("Unhandled exception occurred" , ex );
154- Sentry .captureException (ex );
155-
156- return new ResponseEntity <>(
157- new RsData <>(
158- "500-1" ,
159- "서버 오류가 발생했습니다."
160- ),
161- INTERNAL_SERVER_ERROR
162- );
163- }
164- }
151+ // @ExceptionHandler(Exception.class)
152+ // public ResponseEntity<RsData<Void>> handle(Exception ex) {
153+ // log.error("Unhandled exception occurred", ex);
154+ // Sentry.captureException(ex);
155+ //
156+ // return new ResponseEntity<>(
157+ // new RsData<>(
158+ // "500-1",
159+ // "서버 오류가 발생했습니다."
160+ // ),
161+ // INTERNAL_SERVER_ERROR
162+ // );
163+ // }
164+ }
You can’t perform that action at this time.
0 commit comments