mirror of
https://github.com/alexjustesen/speedtest-tracker.git
synced 2026-06-23 04:20:08 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user