Handling exceptions corrupted state, now fixed

This commit is contained in:
James Barnsley
2017-09-28 08:39:44 +13:00
parent beb01d5f3f
commit fec829cc33
4 changed files with 48 additions and 26 deletions

View File

@ -17,7 +17,17 @@ export function getBroadcasts(){
})
},
(xhr, status, error) => {
console.error('Could not fetch broadcasts from GitHub')
dispatch(
handleException(
'Could not fetch broadcasts from GitHub',
{
config: config,
xhr: xhr,
status: status,
error: error
}
)
);
}
)
}