dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M compiler/forget/src/PassManager.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…