/** * @see \Fuel\Core\Error::show_production_error() */ public static function show_production_error(\Exception $e) { $config = \Config::load('sentry', true); if ($config[\Fuel::$env]['php']['enabled']) { Sentry::send_exception($e); } parent::show_production_error($e); }