WIP: working on better Rollbar filtering in prod
This commit is contained in:
parent
2997de2a66
commit
039d159cbd
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
},
|
||||
],
|
||||
],
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue