Commit d110969c authored by yanzg's avatar yanzg

修复异常提醒,从而正确的跟踪异常信息

parent 9564891a
......@@ -48,7 +48,7 @@ public class LogUrlCountVo {
this.errorCount--;
}
this.totalTime -= time;
this.avgTime = this.totalTime / this.endCount;
this.avgTime = this.totalTime / Math.max(1, this.endCount);
}
}
......
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