         @resumeTasks()
     , (err) =>
       @emit 'error', err,
-        content:
+        context:
           when: 'resumeTasks'
 
   waitNextGroup: ->

          progress_at: new Date()
      .catch (err) =>
        @emit 'error', _.extend err,
          content:
            when: 'updateProgress'
            task: task
            progress: progress

    .done =>
      @triggerTask()
    , (err) =>
      @emit 'error', _.extend err,
        context:
          when: 'createTask'

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

  ###
    Public: Stop task.
