mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
This was causing issues in various places where errors would be stringified. Because the inner detail objects would contain a NodePath with circular structures this would cause a JSON.stringify error in code outside of our control. This change makes it so we always print the codeframe from the NodePath and then passing the string.