Closed alariva closed 8 years ago
Since laravel-rollbar throws an Exception if no access token is set, I'm not sure about the way to disable it for local testing.
laravel-rollbar
Is there a suggested way to configure no ACCESS_TOKEN for testing/continuous integration environments?
I'm currently adding this to register() at AppServiceProvider.php
if ($this->app->environment() != 'testing') { $this->app->register(Jenssegers\Rollbar\RollbarServiceProvider::class); }
But unsure about if it's the best way.
Thanks in advance!
I'm doing that as well. Probably best to add it to the readme :)
Updated readme!
Since
laravel-rollbar
throws an Exception if no access token is set, I'm not sure about the way to disable it for local testing.Is there a suggested way to configure no ACCESS_TOKEN for testing/continuous integration environments?
I'm currently adding this to register() at AppServiceProvider.php
But unsure about if it's the best way.
Thanks in advance!