From 89c5592606c7a14b70472083d7428ba5ce5fc006 Mon Sep 17 00:00:00 2001 From: JesusPerez Date: Thu, 23 Sep 2021 12:54:08 +0100 Subject: [PATCH] chore: check datastores not panic --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 6dbc501..deca544 100644 --- a/src/main.rs +++ b/src/main.rs @@ -327,7 +327,7 @@ pub async fn main() -> BxDynResult<()> { //std::io::Result<()> { let config = Config::new(config_content,debug); let app_data_conn = AppDataConn::new("Zterton".to_string(),config.datastores_settings.to_owned(),"").await; if !app_data_conn.check_connections(config.datastores_settings.to_owned()).await { - panic!("Error checking app data store connections"); + println!("Error checking app data store connections"); } if config.run_schedtasks { for it in &config.schedtasks {