debug health db

This commit is contained in:
shimon 2025-11-06 16:42:58 +02:00
parent d6bd26da43
commit d0f2293755

View file

@ -132,8 +132,9 @@ App::get('/v1/health/db')
}
if (!empty($failures)) {
throw new Exception(Exception::GENERAL_SERVER_ERROR, 'DB failure on: ' . implode(", ", $failures));
}
$output= $failures;
//throw new Exception(Exception::GENERAL_SERVER_ERROR, 'DB failure on: ' . implode(", ", $failures));
}
$response->dynamic(new Document([
'statuses' => $output,