WIP: working on better Rollbar filtering in prod

This commit is contained in:
Brady Wetherington 2023-02-01 16:43:09 -08:00
parent 2997de2a66
commit 039d159cbd

View file

@ -113,6 +113,13 @@ $config = [
'handler' => \Rollbar\Laravel\MonologHandler::class,
'access_token' => env('ROLLBAR_TOKEN'),
'level' => env('ROLLBAR_LEVEL', 'error'),
'check_ignore' => function($isUncaught, $args, $payload) {
if (method_exists($args, 'getMessage') && strstr($args->getMessage(), 'Declaration of')) {
return true;
}
return false;
},
],
],