   for storeId, action of BOOTSTRAPED_STORES
     data = bootstrapData[storeId]
     action(data) if data
+
+  SharedNetworking.onError(onRequestError)
 
   apiHelper TaskActions, TaskActions.load, TaskActions.loaded, 'GET', (id) ->
     url: "/api/tasks/#{id}"

    url: "/api/notifications"
  , displayError: false


  CurrentUserActions.logout.addListener 'trigger', ->
    # Logging out programatically needs to be done via a form submission or follow redirects
    # $.ajax('/accounts/logout', {method: 'DELETE'})

# `TaskActions.loaded` or `TaskActions.FAILED`
_ = require 'underscore'

{apiHelper, IS_LOCAL, toParams, onRequestError} = require './helpers/api'
TimeHelper = require './helpers/time'
{CurrentUserActions, CurrentUserStore} = require './flux/current-user'
{CourseActions} = require './flux/course'
