Skip to content

Commit

Permalink
Add more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
smrtrfszm committed Aug 8, 2024
1 parent 4824984 commit 53741b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/utils/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ async fn setup_database() -> (ContainerAsync<Postgres>, DbConn) {
container.get_host_port_ipv4(5432).await.unwrap(),
);

tracing::debug!("Connecting to Postgres at {connection_string:?}");

let db = Database::connect(connection_string)
.await
.inspect_err(|err| tracing::error!("postgres connect err: {err:?}"))
Expand Down

0 comments on commit 53741b3

Please sign in to comment.