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