use exception instead
This commit is contained in:
parent
4563faedcb
commit
f26b8f05f5
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ App::get('/v1/health/anti-virus')
|
|||
'status' => (@$antiVirus->ping()) ? 'online' : 'offline',
|
||||
'version' => @$antiVirus->version(),
|
||||
]);
|
||||
} catch( \RuntimeException $e) {
|
||||
} catch( \Exception $e) {
|
||||
$response->json([
|
||||
'status' => 'offline',
|
||||
'version' => '',
|
||||
|
|
Loading…
Reference in a new issue