修改一些日志提示

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
@@ -166,7 +166,7 @@ func (w *Once) watch() {
func (w *Once) doTask(key string) {
defer func() {
if err := recover(); err != nil {
fmt.Println("timer:定时器出错", err)
fmt.Println("timer:回调任务panic", err)
log.Println("errStack", string(debug.Stack()))
}
}()