mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 08:28:42 +00:00
debug
This commit is contained in:
parent
21ef33ea45
commit
e4755c624f
1 changed files with 2 additions and 2 deletions
|
|
@ -126,14 +126,14 @@ App::get('/v1/health/db')
|
|||
$failures[] = $database;
|
||||
}
|
||||
} catch (\Throwable) {
|
||||
var_dump($key . " ($database)",);
|
||||
var_dump($key . " ($database)");
|
||||
$failures[] = $database;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($failures)) {
|
||||
|
||||
var_dump($failures);
|
||||
throw new Exception(Exception::GENERAL_SERVER_ERROR, 'DB failure on: ' . implode(", ", $failures));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue