mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
debug health db
This commit is contained in:
parent
d6bd26da43
commit
d0f2293755
1 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue