From 6eb8ce9170b44c8be716423cba2e33a39f18a7a0 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 14 Jun 2021 13:46:38 +0200 Subject: [PATCH] revert changes --- app/controllers/api/health.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index dd1d4a0d69..dbbd59f8c3 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -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' => '',