           console.log 'Received wizard index'
           res data
       .fail (obj, status) ->
-        console.log 'Error: ' + obj.responseJSON.message
+        console.error 'Error: ' + getErrorMessage(obj)
         rej obj
 
   fetchRevisions: (studentId, courseId) ->

      success: (data) ->
        window.location = '/'
    .fail (obj, status) ->
        console.log 'Couldn\'t delete course'

  # TODO: This should add a task to a queue and return immediately
  manualUpdate: (course_id) ->

          console.log 'Received training module'
          res data
      .fail (obj, status) ->
        console.error 'Error: ' + getErrorMessage(obj)
        rej obj

  setSlideCompleted: (opts) ->
