This commit is contained in:
shimon 2025-12-01 11:45:01 +02:00
parent 21ef33ea45
commit e4755c624f

View file

@ -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));
}