src/Actions/EmailAction.php
protected function handleException($e)
    {
        if (App::instance()->option('debug') === true) {
            $this->fail(I18n::translate('uniform-email-error').': '.$e->getMessage());
        }

        $this->fail(I18n::translate('uniform-email-error').'.');
    }
protected function handleException($e)
    {
        if (App::instance()->option('debug') === true) {
            $this->fail(I18n::translate('uniform-email-error').': '.$e->getMessage());
        }

        $this->fail(I18n::translate('uniform-email-error').'.');
    }
protected function handleException ( $ e ) { if ( App :: instance ( ) -> option ( 'debug' ) === true ) { $ this -> fail ( I18n :: translate ( 'uniform-email-error' ) . ': ' . $ e -> getMessage ( ) ) ; } $ this -> fail ( I18n :: translate ( 'uniform-email-error' ) . '.' ) ; }
Handle an exception when the email should be sent.

@param Exception|Error $e
Handle an exception when the email should be sent .