-
Notifications
You must be signed in to change notification settings - Fork 132
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
Bugsnag requires an API key even if it's not supposed to report #65
Comments
echo this issue. Thanks @phaza for pointing out this solution. I think either the doc needs to be updated or this "no api key" issue needs to be addressed. |
Right, this is because we're booting everything in order to decide if we need to log or not. We're looking into doing some refactoring to address this. I'll get back to you soon. |
Yes, that looks just fine. :) |
This will be fixed in the next release. |
Even if you've set bugsnag to only report exceptions in production, it still requires an api key in other modes. Worst of all, it gets trapped in an endless exception loop where it throws an exception for no api key being present, and then catches it and tries to submit it. repeat.
I solved it by having my config look like this:
'api_key' => env('BUGSNAG_API_KEY', ''),
compared to:
'api_key' => env('BUGSNAG_API_KEY'),
The text was updated successfully, but these errors were encountered: