feat(REQ-2516): 降级日志
This commit is contained in:
parent
507a8966c8
commit
7f2d47d4b8
@ -62,7 +62,7 @@ public class FeignRecordExceptionInterceptor implements RequestInterceptor {
|
|||||||
ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
|
ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
|
||||||
return attributes.getRequest();
|
return attributes.getRequest();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.warn("not HttpServletRequest instance bean found");
|
log.debug("not HttpServletRequest instance bean found");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user