This commit is contained in:
shoopea 2020-10-20 11:25:14 +02:00
parent c48549e5a2
commit 0216165857

4
sql.go
View File

@ -1014,7 +1014,9 @@ func cleanupJobData() {
log.Printf("cleanupJobData : JobID : %d\n", jobID)
err = doneStmt.QueryRow(jobID).Scan(&isDone)
logOnError(err, "cleanupJobData : scan doneStmt")
if err != nil {
if err.Error() == `sql: no rows in result set` {
} else if err != nil {
return
}
log.Printf("cleanupJobData : isDone : %d\n", isDone)