A free open source IT asset/license management system
WIP: working on better Rollbar filtering in prod
Brady Wetherington039d159cbdc0
diff --git a/config/logging.php b/config/logging.phpindex cdd0bbcbdf..1e3e3b4932 100644--- a/config/logging.php+++ b/config/logging.php@@ -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;+ },],],