log digital
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user