is there something notifyException / notifyError method?
it-can opened this issue · 1 comments
it-can commented
i use bugsnag and currently testing Flare, but I wonder if Flare has something like this "Bugsnag::notifyException()"?
https://docs.bugsnag.com/platforms/php/laravel/reporting-handled-errors/
try {
// Some potentially crashy code
} catch (Exception $exception) {
Bugsnag::notifyException($exception);
}
Bugsnag::notifyError('ErrorType', 'Something bad happened');
rubenvanassche commented
There is: https://flareapp.io/docs/integration/generic-php-projects/handling-exceptions
If you're using laravel, you can just use the report
method provided by Laravel.