Update PhyreServer.php

This commit is contained in:
Bozhidar Slaveykov 2024-04-06 21:13:35 +03:00
parent c1b059963c
commit ecf62a45e9

View file

@ -96,6 +96,9 @@ class PhyreServer extends Model
if (isset($response['status']) && $response['status'] == 'ok') {
$this->status = 'Online';
$this->save();
} else {
$this->status = 'Offline';
$this->save();
}
} catch (\Exception $e) {
$this->status = 'Offline';