Error handling, I should make it better though
This commit is contained in:
@@ -44,12 +44,12 @@ pub fn watch_files(file_list: &[PathBuf]) -> u8
|
||||
Err(e) =>
|
||||
{
|
||||
println!("watch error: {:?}", e);
|
||||
return 2
|
||||
return 1
|
||||
}
|
||||
}
|
||||
}
|
||||
println!("Watching files...");
|
||||
1
|
||||
2
|
||||
}
|
||||
|
||||
pub fn read_file(file_name: &str, depth: u8) ->
|
||||
|
||||
Reference in New Issue
Block a user