health db debug

This commit is contained in:
shimon
2025-11-06 17:37:31 +02:00
parent d0f2293755
commit 3d471bae56
+2 -3
View File
@@ -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,