Add temporary test logging

This commit is contained in:
Lance Pioch 2022-10-28 15:14:26 -04:00
parent 68b1f1ec27
commit 1d2a20d831

View file

@ -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' => [