This commit is contained in:
Andras Bacsai
2024-11-06 15:16:12 +01:00
parent a097f3b830
commit 695ab93cf0
4 changed files with 22 additions and 13 deletions

View File

@@ -4,6 +4,7 @@ namespace App\Actions\Proxy;
use App\Enums\ProxyTypes;
use App\Models\Server;
use Illuminate\Support\Facades\Log;
use Lorisleiva\Actions\Concerns\AsAction;
use Symfony\Component\Yaml\Yaml;
@@ -88,6 +89,7 @@ class CheckProxy
$portsToCheck = [];
}
} catch (\Exception $e) {
Log::error('Error checking proxy: '.$e->getMessage());
}
if (count($portsToCheck) === 0) {
return false;