aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 324d34e..349d2d2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,7 +1,8 @@
mod pomo;
use pomo::Pomo;
-fn main() {
+fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut app = Pomo::new();
- app.run();
+ app.run()?;
+ Ok(())
}