|
@@ -21,7 +21,6 @@ import com.chelvc.framework.base.context.ApplicationContextHolder;
|
|
import com.chelvc.framework.base.context.LoggingContextHolder;
|
|
import com.chelvc.framework.base.context.LoggingContextHolder;
|
|
import com.chelvc.framework.base.context.Result;
|
|
import com.chelvc.framework.base.context.Result;
|
|
import com.chelvc.framework.base.context.SessionContextHolder;
|
|
import com.chelvc.framework.base.context.SessionContextHolder;
|
|
-import com.chelvc.framework.base.util.HttpUtils;
|
|
|
|
import com.chelvc.framework.common.exception.FrameworkException;
|
|
import com.chelvc.framework.common.exception.FrameworkException;
|
|
import com.chelvc.framework.common.exception.ParameterInvalidException;
|
|
import com.chelvc.framework.common.exception.ParameterInvalidException;
|
|
import com.chelvc.framework.common.util.ErrorUtils;
|
|
import com.chelvc.framework.common.util.ErrorUtils;
|
|
@@ -242,8 +241,7 @@ public class GlobalExceptionInterceptor extends AbstractErrorController implemen
|
|
String uri = (String) attributes.get("path");
|
|
String uri = (String) attributes.get("path");
|
|
String method = request.getMethod();
|
|
String method = request.getMethod();
|
|
String message = (String) attributes.get("error");
|
|
String message = (String) attributes.get("error");
|
|
- String parameter = HttpUtils.isMultipart(request) ? null : HttpUtils.serialize(request);
|
|
|
|
- log.warn(LoggingContextHolder.message(uri, method, parameter, message));
|
|
|
|
|
|
+ log.warn(LoggingContextHolder.message(uri, method, null, message));
|
|
|
|
|
|
Result<?> result;
|
|
Result<?> result;
|
|
if (status.is5xxServerError()) {
|
|
if (status.is5xxServerError()) {
|