Commit 173ef84ec9f42061554e0ca49c0fa051c0c6baec
1 parent
761c27c1
feat reset exception handler
Showing
1 changed file
with
0 additions
and
6 deletions
cashier-mall/src/main/java/com/diligrp/cashier/mall/exception/MallExceptionHandler.java
| ... | ... | @@ -25,10 +25,4 @@ public class MallExceptionHandler { |
| 25 | 25 | LOG.warn("rt mart mall exception", ex); |
| 26 | 26 | return RtMarkMessage.failure(ex.getCode(), ex.getMessage()); |
| 27 | 27 | } |
| 28 | - | |
| 29 | - @ExceptionHandler(Exception.class) | |
| 30 | - public RtMarkMessage<?> exception(Exception ex) { | |
| 31 | - LOG.warn("exception", ex); | |
| 32 | - return RtMarkMessage.failure(RtMarkErrorCode.E5000.getCode(), RtMarkErrorCode.E5000.getMessage()); | |
| 33 | - } | |
| 34 | 28 | } | ... | ... |