This reverts commit a568bc5d97 as it breaks tests in g3. PR Close #52484
a568bc5d97
rejectErrors
toSignal