Skip to content
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

move json parsing into format to avoid error on invalid json response #840

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

HomelessDinosaur
Copy link
Member

When a response in the dashboard had invalid json, the response content component would have a spinner running indefinitely. This fix moves the json parsing from the response body and into the formatJson method. If it is invalid or bytes, it will produce the result in the content box directly rather than an unexpected error.

@tjholm tjholm merged commit b7f905c into nitrictech:main Jan 8, 2025
5 checks passed
@nitric-bot
Copy link
Contributor

🎉 This PR is included in version 1.56.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants