-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix UserInfo Crash #17488
Fix UserInfo Crash #17488
Conversation
You can trigger an installable build for these changes by visiting CircleCI here. |
… we just send the custom error message.
4132d0a
to
3386a35
Compare
Interestingly the crash doesn't occur (nor the errors) if the original |
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
I also want to note that I failed to find any spots in code where we cared about anything more than the domain, code, and description when dealing with Media errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ See that it doesn't crash and a "Failed to insert media. Please tap for options." message is displayed.
Fixes a crash where cloning the
userInfo
of anNSError
is causing a Core Data exception when trying to save the context.To test:
Prerequisites: iOS 15
Regression Notes
Potential unintended areas of impact
Error should still exist and show that there was a networking error, just without crashing.
What I did to test those areas of impact (or what existing automated tests I relied on)
Use the above steps to test.
What automated tests I added (or what prevented me from doing so)
N/A
PR submission checklist:
RELEASE-NOTES.txt
if necessary.