Skip to content

Commit cd9c43f

Browse files
authored
Update overlay.js
1 parent fb7411b commit cd9c43f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/react-error-overlay/src/overlay.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,6 @@ function crash(error: Error, unhandledRejection = false) {
161161
consumeError(error, unhandledRejection, CONTEXT_SIZE)
162162
.then(ref => {
163163
if (ref == null) {
164-
console.warn(
165-
`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.
166-
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.
167-
Try searching or opening an issue with the relevant package.`
168-
);
169164
return;
170165
}
171166
errorReferences.push(ref);

0 commit comments

Comments
 (0)