jenssegers / laravel-rollbar

Rollbar error monitoring integration for Laravel projects
329 stars 99 forks source link

InvalidArgumentException not working #30

Closed m4nt4s closed 8 years ago

m4nt4s commented 8 years ago

When access_token is not set, than InvalidArgumentException returns nothing instead of "Rollbar token is not set" and then no exeptions are returned.

Would be nice if you could configure, when you can enable or disable rollbar in your project. Maybe if you not set access_token, than exeptions will return normal laravel exceptions and if it's set than rollbar execptions.

jenssegers commented 8 years ago

You could also optionally register the service provider for certain environments using $app->register()