Skip to content

Commit 8236fc9

Browse files
committed
sync error name with upstream
1 parent 0d3d4e4 commit 8236fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-devtools-shared/src/backend/renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3607,7 +3607,7 @@ export function attach(
36073607
mostRecentlyInspectedElement = inspectElementRaw(id);
36083608
} catch (error) {
36093609
// the error name is synced with ReactDebugHooks
3610-
if (error.name === 'ReactDebugToolsRenderFunctionError') {
3610+
if (error.name === 'ReactDebugToolsRenderError') {
36113611
let message = 'Error rendering inspected element.';
36123612
let stack;
36133613
// Log error & cause for user to debug

0 commit comments

Comments
 (0)