Commit 73007c4f by shenjunjie

Merge remote-tracking branch 'origin/feature' into feature

parents 9a94ae7e 9bfe4fa6
......@@ -46,7 +46,7 @@ public class RobotPushUtils {
// if (com.zhiwei.pushlog.tools.Tools.isEmpty(LogConfig.getAddress()) && LogConfig.loadProperties()) {
// throw new IllegalArgumentException("push.robot.address is null");
// }
if (!LogConfig.getEnable()){
if (!LogConfig.getAppName().contains("prod")){
return null;
}
if (Objects.nonNull(throwable) && !timeFilter(throwable.getClass().getName())) {
......@@ -75,7 +75,7 @@ public class RobotPushUtils {
// if (com.zhiwei.pushlog.tools.Tools.isEmpty(LogConfig.getAddress()) && LogConfig.loadProperties()) {
// throw new IllegalArgumentException("push.robot.address is null");
// }
if (!LogConfig.getEnable()){
if (!LogConfig.getAppName().contains("prod")){
return null;
}
if (Objects.isNull(message) || !timeFilter(message)) {
......
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