-
Notifications
You must be signed in to change notification settings - Fork 46.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information
1 parent
ea3ac58
commit b7e2157
Showing
2 changed files
with
86 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters