-
Notifications
You must be signed in to change notification settings - Fork 129
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
Improve minimal report app/device information #239
Conversation
Source/BugsnagSink.m
Outdated
bugsnagReport.app = @{ | ||
@"bundleVersion": sysInfo[@BSG_KSSystemField_BundleVersion], | ||
@"id": sysInfo[@BSG_KSSystemField_BundleID], | ||
@"releaseStage": configuration.releaseStage, |
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.
There is a risk here for any of these values to be nil, particularly release stage if overridden by the user, so inserting values only if not nil would be prudent here as this will otherwise crash if any of these values is not set.
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.
LGTM
Should we add tests for this functionality? |
We plan to add a mazerunner scenario which will cover this test case. |
Changes report generation so that when a minimal or incomplete crash is recorded, essential app/device information is included in the report on the next startup.
Partially addresses #224