Closed christoph-werker closed 2 years ago
It depends how you've implement the package into laravel. If you are using the log stacks, you can create different stack for each environment. Then set which stack you want to use by changing the value of LOG_CHANNEL in .env https://laravel.com/docs/9.x/logging#introduction
Otherwise if you're using the exception handler, you can check the environment before sending the error to airbrake https://laravel.com/docs/9.x/configuration#determining-the-current-environment
Exception handler example is now in the docs https://github.com/TheoKouzelis/laravel-airbrake/commit/02bdf9e7ef35959f7ec7974c7e3cd14eb10ed5c4
Thanks
Hello Guys,
how can i report only online Errors in Production mode?