Link warning to error boundary post (#10289)
Dan Abramov committed
Jul 26, 2017 at 19:59 UTC
9a290fb1a704701d089c948a5c72f3ed8c663db1
1 file changed
+2
-2
src/renderers/shared/fiber/ReactFiberErrorLogger.js
+2
-2
@@ -94,9 +94,9 @@ function logCapturedError(capturedError: CapturedError): void {
94
`Recreating the tree from scratch failed so React will unmount the tree.`;
95
}
96
} else {
97
- // TODO Link to componentDidCatch() documentation once it exists.
97
errorBoundaryMessage =
99
- 'Consider adding an error boundary to your tree to customize error handling behavior.';
98
+ 'Consider adding an error boundary to your tree to customize error handling behavior. ' +
99
+ 'See https://fb.me/react-error-boundaries for more information.';
100
}
101
102
console.error(