add logs around connecting to database

This commit is contained in:
Ruben Fiszel
2023-05-25 17:45:17 +02:00
parent 2a235f789f
commit 26b68fa2db
+2
View File
@@ -86,7 +86,9 @@ async fn main() -> anyhow::Result<()> {
config
});
tracing::info!("Connecting to database...");
let db = windmill_common::connect_db(server_mode).await?;
tracing::info!("Database connected");
let rsmq = if let Some(config) = rsmq_config {
let mut rsmq = rsmq_async::MultiplexedRsmq::new(config).await.unwrap();