diff --git a/bin/console b/bin/console index a9848e9..fe7541d 100755 --- a/bin/console +++ b/bin/console @@ -9,6 +9,7 @@ use Plugin\Loader\EnvVarLoader; use Plugin\Pipeline\Evaluation; use Symfony\Component\Mailer\Exception\TransportException; use Twig\Error\SyntaxError; +use Symfony\Component\Mime\Exception\RfcComplianceException; $build = EnvVarLoader::buildArray([ 'workspace' => 'CI_WORKSPACE', @@ -143,6 +144,8 @@ try { handleError('Syntax error', $e); } catch (TransportException $e) { handleError('Transport error', $e); +} catch (RfcComplianceException $e) { + handleError('RFC compliance error', $e); } catch (\Exception $e) { handleError('Generic error', $e); }