Hotfix v1.13.1 (fix for ping failing) (#2561)

Co-authored-by: Alex Justesen <1144087+alexjustesen@users.noreply.github.com>
This commit is contained in:
Alex Justesen
2025-12-17 09:30:30 -05:00
committed by GitHub
parent cd0915f601
commit b21f0f18d7
+6
View File
@@ -2,6 +2,7 @@
namespace App\Actions;
use Illuminate\Support\Facades\Log;
use Lorisleiva\Actions\Concerns\AsAction;
use Spatie\Ping\Ping;
use Spatie\Ping\PingResult;
@@ -22,6 +23,11 @@ class PingHostname
count: $count,
))->run();
Log::info('Pinged hostname', [
'host' => $hostname,
'data' => $ping->toArray(),
]);
return $ping;
}
}