Commit 0a49c503 authored by duanruiming's avatar duanruiming

[update] 优化异常日志打印

parent b0371f13
......@@ -79,7 +79,7 @@ public class ResourceServerConfig extends IdentityResourceServerConfig {
try {
filterChain.doFilter(requestWrapper, response);
} catch (Exception e) {
log.error("配置信息错误:{}", e);
log.error("配置信息错误:", e);
}
}
}, SecurityContextPersistenceFilter.class);
......
......@@ -275,7 +275,7 @@ public class HkLightsStatusServiceImpl implements HkLightsStatusService {
}
}
} catch (Exception e) {
log.error("ArtemisHttpUtil海康服务调用异常, 异常信息: {}", e);
log.error("ArtemisHttpUtil海康服务调用异常, 异常信息:", e);
}
return null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment