|
@@ -26,9 +26,8 @@ public class ControllerExceptionHandler {
|
|
|
log.error(getExceptionAllInformation(ex));
|
|
|
if (ex.getClass().getSimpleName().equals(WxErrorException.class.getSimpleName())) {
|
|
|
return AppUtil.error(ex.getMessage());
|
|
|
- }else {
|
|
|
- return AppUtil.error(ResultConstant.WEB_ERR_MSG);
|
|
|
}
|
|
|
+ return AppUtil.error(ResultConstant.WEB_ERR_MSG);
|
|
|
}
|
|
|
|
|
|
private static String getExceptionAllInformation(Throwable e) {
|