Skip to content

Commit

Permalink
Possible fix for Uncaught (in Promise) issue
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniotrkdz committed Feb 26, 2018
1 parent 18756ff commit 17eb8bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export default function buildMiddleware() {
meta: { ...meta, type: 'error' },
});
return Promise.reject(result);
});
})
.catch(error => console.log(error));
};
}

0 comments on commit 17eb8bc

Please sign in to comment.