diff --git a/sql.go b/sql.go index 8627db0..6dd7e1f 100644 --- a/sql.go +++ b/sql.go @@ -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)