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

[PLAT-7635] check nil parameter in network breadcrumbs #1230

Merged
merged 1 commit into from
Nov 19, 2021

Conversation

kstenerud
Copy link
Contributor

@kstenerud kstenerud commented Nov 17, 2021

Apple metrics via the Apple API might not have a request object, or the request might not have a URL. We need to check before trying to use them.

Also made the request search more robust since there can be many possible places for them, and not all of them will have an HTTP body.

Testing

Unfortunately we don't have a repro case for the report that triggered this issue, but the existing tests all pass.

@github-actions
Copy link

Infer: No issues found 🎉

OCLint: No issues found 🎉

Bugsnag.framework binary size did not change - 1,254,872 bytes

Generated by 🚫 Danger

@kstenerud kstenerud changed the title Plat 7635 check nil parameter [PLAT-7635] check nil parameter in network breadcrumbs Nov 17, 2021
@kstenerud kstenerud marked this pull request as ready for review November 17, 2021 12:28
@kstenerud kstenerud requested a review from nickdowell November 17, 2021 15:46
@kstenerud kstenerud force-pushed the PLAT-7635-nil-parameter branch from 75cb965 to 5097aa0 Compare November 18, 2021 08:56
@kstenerud kstenerud force-pushed the PLAT-7635-nil-parameter branch from 5097aa0 to 740c26b Compare November 18, 2021 09:53
@kstenerud kstenerud force-pushed the PLAT-7635-nil-parameter branch from 740c26b to fb1764f Compare November 19, 2021 08:51
@kstenerud kstenerud requested a review from nickdowell November 19, 2021 08:52
@kstenerud kstenerud merged commit a91c243 into next Nov 19, 2021
@kstenerud kstenerud deleted the PLAT-7635-nil-parameter branch November 19, 2021 09:55
@nickdowell nickdowell mentioned this pull request Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants