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

Add an option to not send data #82

Merged
merged 2 commits into from
May 30, 2019

Conversation

sixlive
Copy link
Collaborator

@sixlive sixlive commented May 30, 2019

Description

Adds an option for whether the library should send data back to the API, this is useful in testing or staging environments.

new Honeybadger([
    'report_data' => false,
])

@sixlive sixlive marked this pull request as ready for review May 30, 2019 16:56
@sixlive sixlive requested a review from joshuap May 30, 2019 16:56
@sixlive sixlive self-assigned this May 30, 2019
Copy link
Member

@joshuap joshuap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sixlive sixlive merged commit 1447b4e into honeybadger-io:master May 30, 2019
@sixlive sixlive deleted the add-option-to-not-send-data branch May 30, 2019 16:59
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