Process job scheduler errors

This commit is contained in:
2022-09-29 11:30:22 +06:00
parent 979343a0a4
commit 3cfaf0596b
2 changed files with 37 additions and 36 deletions

View File

@@ -51,7 +51,10 @@ async fn main() {
env_logger::init();
tokio::spawn(async {
cron_jobs().await
match cron_jobs().await {
Ok(_) => (),
Err(e) => panic!("{:?}", e),
}
});
start_app().await;