Add temporary test logging
This commit is contained in:
parent
68b1f1ec27
commit
1d2a20d831
1 changed files with 3 additions and 0 deletions
|
@ -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' => [
|
||||
|
|
Loading…
Reference in a new issue