|
@@ -72,7 +72,8 @@ class LogRequestAspect {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- val attr = RequestContextHolder.getRequestAttributes() as ServletRequestAttributes
|
|
|
+ val attr = RequestContextHolder.getRequestAttributes() as? ServletRequestAttributes
|
|
|
+ ?: return joinPoint.proceed()
|
|
|
val request = attr.request
|
|
|
|
|
|
val requestUri = request.requestURI
|