       },
       (err, results) ->
         if results.length isnt 0
-          return callback("There was already a bonus paid")
+          console.error("There was already a bonus paid. Skipping...")
+          return callback(null)
         else
           callback(err)
       )
     ),
     # Confirm that the Bonus is the same that we can saved in our DB
     ((callback) ->
+      console.log "confirming bonus amount"
       TaskSet.verifyBonus(assignment.AssignmentId, assignment.Answer.bonus,
         callback)
     ),

  assignment = crowdy.parseAssignment(assignment)
  
  if !assignment.Answer.bonus
    return cb("No bonus specified for assignment.WorkerId")

  console.log "#{assignment.Answer.bonus} bonus owed to #{assignment.WorkerId}"



main = () ->
  crowdy.getHITs(getSubmittedAssignments,
    {print:true, status:'all'},
    (err) ->
      if err then return console.error err
      console.log("Done reviewing HITs")
