Skip to content

Commit

Permalink
Ensure exceptions from route generation are reported
Browse files Browse the repository at this point in the history
Reviewed By: swarr

Differential Revision: D2631395

fb-gh-sync-id: cf59a290a4b447122c36ec20176b563a38bee630
  • Loading branch information
javache authored and facebook-github-bot-5 committed Nov 9, 2015
1 parent 0b5b0f9 commit 478a712
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ function polyfillGlobal(name, newValue, scope=GLOBAL) {
}

function setUpErrorHandler() {
if (global.__fbDisableExceptionsManager) {
return;
}

function handleError(e, isFatal) {
try {
require('ExceptionsManager').handleException(e, isFatal);
Expand Down

0 comments on commit 478a712

Please sign in to comment.