Skip to content

Commit

Permalink
Update overlay.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer authored May 12, 2017
1 parent fb7411b commit cd9c43f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/react-error-overlay/src/overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@ function crash(error: Error, unhandledRejection = false) {
consumeError(error, unhandledRejection, CONTEXT_SIZE)
.then(ref => {
if (ref == null) {
console.warn(
`react-error-overlay could not deduce if the previous error was from your code. Since we can't display anything useful, we're giving you this warning instead.
This error is most likely a bug with the package you see in the stack trace, however, it may be caused indirectly by something you are calling within the package.
Try searching or opening an issue with the relevant package.`
);
return;
}
errorReferences.push(ref);
Expand Down

0 comments on commit cd9c43f

Please sign in to comment.