             setImmediate @triggerTask
           else
             @emit 'error', _.extend err,
-              content:
+              context:
                 when: 'createTask'
     , (err) =>
       @emit 'error', err,

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


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

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

  ###
    Public: Stop task.
