From 3d471bae5618bfc8cd62ff6c3ef36f442de46d3c Mon Sep 17 00:00:00 2001 From: shimon Date: Thu, 6 Nov 2025 17:37:31 +0200 Subject: [PATCH] health db debug --- app/controllers/api/health.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/controllers/api/health.php b/app/controllers/api/health.php index a411002532..765688e1ee 100644 --- a/app/controllers/api/health.php +++ b/app/controllers/api/health.php @@ -132,9 +132,8 @@ App::get('/v1/health/db') } if (!empty($failures)) { - $output= $failures; - //throw new Exception(Exception::GENERAL_SERVER_ERROR, 'DB failure on: ' . implode(", ", $failures)); - } + throw new Exception(Exception::GENERAL_SERVER_ERROR, 'DB failure on: ' . implode(", ", $failures)); + } $response->dynamic(new Document([ 'statuses' => $output,