revert changes

This commit is contained in:
Torsten Dittmann 2021-06-14 13:46:38 +02:00
parent d3ae58a2ff
commit 6eb8ce9170

View file

@ -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' => '',