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

Default to empty when no key set #86

Closed
wants to merge 1 commit into from

Conversation

kattrali
Copy link
Contributor

@kattrali kattrali commented Jan 5, 2016

Users should not be required to provide a key in every environment if bugsnag is not being used there. This change sets a default 'empty' key, though I'd assume in addition we'd need to prevent triggering an upload. /cc @snmaynard

Fixes #65

@snmaynard
Copy link
Contributor

Yeah - I think that this will possibly require no changes on bugsnag-laravel and instead require a change to bugsnag-php here -> https://github.com/bugsnag/bugsnag-php/blob/master/src/Bugsnag/Client.php#L19

We could log instead of throwing there?

@kattrali
Copy link
Contributor Author

kattrali commented Jan 5, 2016

Seems reasonable, glad to have another set of eyes.

@snmaynard
Copy link
Contributor

We'd also have to make a change to notify. We could probably add some tests to cover this in the php repo.

@kattrali kattrali closed this Jan 6, 2016
@GrahamCampbell GrahamCampbell deleted the fix-65-escape-without-key branch June 21, 2016 11:24
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.

None yet

2 participants