mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
health db debug
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user