src/Exception/ErrorMiddleware.php
/**
	 * Logs and reports the given error silently, the caller assumes responsibility to terminate the page and show the
	 * error.
	 */
Logs and reports the given error silently, the caller assumes responsibility to terminate the page and show the
error.
Logs and reports the given error silently the caller assumes responsibility to terminate the page and show the error .
public static function executeSilently(HorizonError $error) {
		if (Application::environment() == 'console') {
			return Application::kernel()->console()->handleException($error->getException());
		}
		$errorHandler = static::getErrorHandler();
		if (static::canReport($error)) {
			call_user_func(array($errorHandler, 'report'), $error);
		}
		if (static::canLog($error)) {
			call_user_func(array($errorHandler, 'log'), $error);
		}
	}
public static function executeSilently ( HorizonError $ error ) { if ( Application :: environment ( ) == 'console' ) { return Application :: kernel ( ) -> console ( ) -> handleException ( $ error -> getException ( ) ) ; } $ errorHandler = static :: getErrorHandler ( ) ; if ( static :: canReport ( $ error ) ) { call_user_func ( array ( $ errorHandler , 'report' ) , $ error ) ; } if ( static :: canLog ( $ error ) ) { call_user_func ( array ( $ errorHandler , 'log' ) , $ error ) ; } }
Logs and reports the given error silently, the caller assumes responsibility to terminate the page and show the
 error.
Logs and reports the given error silently the caller assumes responsibility to terminate the page and show the error .
// Redirect console errors // Report the error // Log the error