summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index e0cc8cc..1c1bd48 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -45,7 +45,7 @@ async fn main() {
Ok(l) => l,
Err(_) => {
eprintln!("Invalid log level: {}. Use {:?} instead.",
- config.log_level, DEFAULT_LOG_LEVEL);
+ config.log_level, DEFAULT_LOG_LEVEL);
DEFAULT_LOG_LEVEL
}
};
@@ -88,7 +88,7 @@ async fn main() {
debug!("Waiting for Ctrl-C in main coroutine...");
tokio::signal::ctrl_c().await.unwrap();
-
+
// gracefully shutdown the database connection
info!("Closing database...");
db.close().await;