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

Check to see if StructuredData exists before attempting to print it #1346

Merged
merged 1 commit into from
May 18, 2023

Conversation

trufflesteeeve
Copy link
Collaborator

When r.Result.StructuredData is nil, attempting to print parts of it will panic. This fixes that by ensuring it exists before attempting to print those parts.

@trufflesteeeve trufflesteeeve requested a review from a team as a code owner May 18, 2023 21:29
@trufflesteeeve
Copy link
Collaborator Author

Merging even though performance test didn't pass, because it is using a broken version.

@trufflesteeeve trufflesteeeve merged commit 1a81709 into main May 18, 2023
@trufflesteeeve trufflesteeeve deleted the fix-unsafe-printing branch May 18, 2023 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants