From 1d2a20d831e9dcc29ab316f8a4abbc7948d59bc2 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Fri, 28 Oct 2022 15:14:26 -0400 Subject: [PATCH] Add temporary test logging --- app/Repositories/Wings/DaemonServerRepository.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Repositories/Wings/DaemonServerRepository.php b/app/Repositories/Wings/DaemonServerRepository.php index f013ac08c..a0850b18b 100644 --- a/app/Repositories/Wings/DaemonServerRepository.php +++ b/app/Repositories/Wings/DaemonServerRepository.php @@ -4,6 +4,7 @@ namespace Pterodactyl\Repositories\Wings; use Webmozart\Assert\Assert; use Pterodactyl\Models\Server; +use Illuminate\Support\Facades\Log; use GuzzleHttp\Exception\GuzzleException; use GuzzleHttp\Exception\TransferException; use Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException; @@ -39,6 +40,8 @@ class DaemonServerRepository extends DaemonRepository { Assert::isInstanceOf($this->server, Server::class); + Log::info(app()->environment()); + try { $this->getHttpClient()->post('/api/servers', [ 'json' => [