use IndexZer0\EloquentFiltering\Suppression\Suppression;Suppression::handleDeniedFilterUsing(function (SuppressibleException $se): void { Log::channel('slack')->info('Bug in frontend client, trying to use filter type that is not allowed: ' . $se->getMessage()); throw new FrontendBugException($se->getMessage());});