debug: db: url
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Aravinth Manivannan 2022-12-19 11:49:42 +05:30
parent fdf31ecfd2
commit 7db1fa3d3b
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -48,7 +48,7 @@ impl ConnectionOptions {
async fn connect(self) -> ServiceResult<Database> {
let pool = match self {
Self::Fresh(fresh) => {
println!("{}", fresh.url);
tracing::info!("DATABASE URL: {}", fresh.url);
let mut connect_options =
sqlx::postgres::PgConnectOptions::from_str(&fresh.url).unwrap();
if fresh.disable_logging {