Clean sensitive email connection info

This commit is contained in:
Lance Pioch 2019-09-25 15:53:38 -04:00 committed by GitHub
parent b78276d23d
commit ce614ad54f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@ namespace Pterodactyl\Exceptions;
use Exception; use Exception;
use PDOException; use PDOException;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
use Swift_TransportException;
use Illuminate\Container\Container; use Illuminate\Container\Container;
use Illuminate\Database\Connection; use Illuminate\Database\Connection;
use Illuminate\Auth\AuthenticationException; use Illuminate\Auth\AuthenticationException;
@ -48,6 +49,7 @@ class Handler extends ExceptionHandler
*/ */
protected $cleanStacks = [ protected $cleanStacks = [
PDOException::class, PDOException::class,
Swift_TransportException::class,
]; ];
/** /**