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-5523] Fix exception thrown when started without apiKey #931

Merged
merged 1 commit into from
Dec 8, 2020

Conversation

nickdowell
Copy link
Contributor

Goal

An unexpected exception was being thrown when trying to start Bugsnag without an API key.

The expected behaviour is for a descriptive exception to be thrown when calling [Bugsnag start]

Screenshot 2020-12-08 at 11 55 36

Instead of this NSMutableArray was throwing an exception due to being passed a nil argument.

Changeset

The apiKey is now copied in a more straightforward way.

Testing

Manually verified by creating a new empty project using Bugsnag and trying to run app before configuring the API key.

@nickdowell nickdowell changed the title Fix exception thrown when started without apiKey [PLAT-5523] Fix exception thrown when started without apiKey Dec 8, 2020
@nickdowell nickdowell merged commit 9a4e0df into next Dec 8, 2020
@nickdowell nickdowell deleted the nickdowell/fix-missing-apikey-exception branch December 8, 2020 13:27
This was referenced Dec 8, 2020
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