log digital

This commit is contained in:
zhiqiang feng
2020-12-28 13:05:42 +08:00
parent 04f6c42113
commit 4c336bbb96
+1 -1
View File
@@ -137,7 +137,7 @@ func processed(db *sql.DB, t telegram) {
result, err := stmt.Exec(t.id)
checkDbErr(err, "error in update telegram status")
id, _ := result.RowsAffected()
Log.Infof("[%v] telegram update : %t", id, id > 0)
Log.Infof("[%d] telegram update : %t", id, id > 0)
isWriting = false
Log.Info("release lock")
tx.Commit()