modify log

This commit is contained in:
zhiqiang feng
2020-12-28 17:16:38 +08:00
parent 1ab78d22b4
commit 35c1966e87
+2 -2
View File
@@ -139,9 +139,9 @@ func processed(db *sql.DB, t telegram) {
result, err := stmt.Exec(t.id)
checkDbErr(err, "error in update telegram status")
rows, _ := result.RowsAffected()
Log.Info("telegram update : %t", zap.Int64("id", t.id), zap.Bool("result", rows > 0))
Log.Info("telegram update ", zap.Int64("id", t.id), zap.Bool("result", rows > 0))
isWriting = false
Log.Info("release lock")
Log.Debug("release lock")
tx.Commit()
}