about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/main.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 6c38431..1286519 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -21,10 +21,6 @@ fn main() {
     println!("a community notices system");
     println!();
 
-    if *conf::DEBUG {
-        log::info!("Startup completed in {:?}ms", start.elapsed().as_millis());
-    }
-
     if arg_matches.subcommand_matches("post").is_some() {
         log::info!("New post...");
         error::helper(posts::create(), "Error creating new post");
@@ -57,4 +53,8 @@ fn main() {
     }
 
     error::helper(posts::display(), "Error displaying posts");
+
+    if *conf::DEBUG {
+        log::info!("Run completed in {:?}ms", start.elapsed().as_millis());
+    }
 }