We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 68e646f + d61b4e5 commit a7ddd74Copy full SHA for a7ddd74
src/main.rs
@@ -119,7 +119,12 @@ fn main() {
119
verify(&exercises, verbose).unwrap_or_else(|_| std::process::exit(1));
120
}
121
122
- if matches.subcommand_matches("watch").is_some() && watch(&exercises, verbose).is_ok() {
+ if matches.subcommand_matches("watch").is_some() {
123
+ if let Err(e) = watch(&exercises, verbose) {
124
+ println!("Error: Could not watch your progess. Error message was {:?}.", e);
125
+ println!("Most likely you've run out of disk space or your 'inotify limit' has been reached.");
126
+ std::process::exit(1);
127
+ }
128
println!(
129
"{emoji} All exercises completed! {emoji}",
130
emoji = Emoji("🎉", "★")
0 commit comments