dillon1000/react
Commit
Browse files Don't console.error in dev
Previously the PassManager would console.error if an unexpected error was thrown, to help with debugging jest. However because we now capture all invariants in compiler passes as bailouts, these are already captured in fixture tests. Additionally, we also already console.error if we find an unexpected bailout in a fixture test. So this is purely redundant and removing reduces some noise when running tests.
Changed paths1 file
First-parent comparisoncompiler/forget/src/PassManager.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…