Add more clear error message for errors logged from bsod

This commit is contained in:
SleepWalker 2017-03-29 07:41:51 +03:00
parent 158a7baec5
commit f586fc6c1e
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ export default function BsodMiddleware(dispatchBsod, logger) {
) {
dispatchBsod();
logger.warn('Unexpected response', {resp});
logger.warn('Unexpected response (BSoD)', {resp});
}
return Promise.reject(resp);

View File

@ -19,7 +19,7 @@ describe('BsodMiddleware', () => {
.then(() => {
expect(dispatch, 'was called');
expect(logger.warn, 'to have a call satisfying', [
'Unexpected response',
'Unexpected response (BSoD)',
{resp}
]);
});