SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

[Flight] Handle errors during JSON stringify of console values (#31391)

When we serialize debug info we should never error even though we don't
currently support everything being serialized. Since it's non-essential
dev information.

We already handle errors in the replacer but not when errors happen in
the JSON algorithm itself - such as cyclic errors.

We should ideally support cyclic objects but regardless we should
gracefully handle the errors.
S
Sebastian Markbåge committed
b7e21579220042c0a60179e2f40f121684e637eb
Parent: ea3ac58
Committed by GitHub <[email protected]> on 10/31/2024, 8:47:51 PM