Skip to content

fix: Fix try(json_extract()) to suppress error from json parse #13683

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kagamiori
Copy link
Contributor

Summary:
Fuzzer found a bug where try(json_extract()) doesn't suppress the error when the json input is invalid. This diff fixes this issue.

This diff fixes #13682.

Differential Revision: D76163194

Summary:
Fuzzer found a bug where try(json_extract()) doesn't suppress the error when the json input is invalid. This diff fixes this issue.

This diff fixes facebookincubator#13682.

Differential Revision: D76163194
Copy link

netlify bot commented Jun 6, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 7a28775
🔍 Latest deploy log https://app.netlify.com/projects/meta-velox/deploys/684364e2f4affd00087e1ea1

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 6, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D76163194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

json_extract: throw when wrapped in try()
3 participants