summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-08-18 09:34:28 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-08-18 09:34:28 +0200
commitd6fc8e9f7d39c6b20b506f54c5313bc17cfbab8b (patch)
tree354b14116c2c2d816f98fa97be43d4e67048bd0b /src/main.rs
parentf4c27b7a834538bc75dd6f986c05635e6c58956c (diff)
Printing to stderr is now behind a feature flag
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index d2ec145..4f98e75 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -36,6 +36,7 @@ fn main() {
}
},
Err(e) => {
+ #[cfg(feature = "logging")]
eprintln!("WARN: State file could not be parsed: {}", e);
Command::new(Action::DoNothing)
}