From ce614ad54fff852b035e54f7eb79423fdd5601c2 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Wed, 25 Sep 2019 15:53:38 -0400 Subject: [PATCH] Clean sensitive email connection info --- app/Exceptions/Handler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 8f60bcbf8..39709d5e2 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -5,6 +5,7 @@ namespace Pterodactyl\Exceptions; use Exception; use PDOException; use Psr\Log\LoggerInterface; +use Swift_TransportException; use Illuminate\Container\Container; use Illuminate\Database\Connection; use Illuminate\Auth\AuthenticationException; @@ -48,6 +49,7 @@ class Handler extends ExceptionHandler */ protected $cleanStacks = [ PDOException::class, + Swift_TransportException::class, ]; /**