           finished_at: new Date()
       .catch (err) =>
         @emit 'error', err,
-          content:
+          context:
             when: 'finishTask'
             task: task
     , (err) =>
       @emit 'error', err,
-        content:
+        context:
           when: 'runTask'
           task: task
 

    .done =>
      @triggerTask()
    , (err) =>
      @emit 'error', err,
        when: 'ensureIndex'

    @on 'error', (err) =>
      @logger.log err, err.context

  ###
    Public: Stop task.

        @resumeTasks()
    , (err) =>
      @emit 'error', err,
        context:
          when: 'resumeTasks'

  waitNextGroup: ->
