   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}"


{NotificationActions, NotificationStore} = require './flux/notifications'

BOOTSTRAPED_STORES = {
  user:   CurrentUserActions.loaded
  courses: CourseListingActions.loaded

# `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'
