修改一些日志提示

This commit is contained in:
Yun
2024-05-28 17:36:18 +08:00
parent 2cc97438b4
commit 6df89da568
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -282,7 +282,7 @@ func (s *Single) iterator(ctx context.Context, nowTime time.Time) {
func (s *Single) doTask(ctx context.Context, call callback, extend interface{}) error {
defer func() {
if err := recover(); err != nil {
s.logger.Errorf(ctx, "timer:定时器出错 err:%+v stack:%s", err, string(debug.Stack()))
s.logger.Errorf(ctx, "timer:回调任务panic err:%+v stack:%s", err, string(debug.Stack()))
}
}()