diff --git a/src/main.rs b/src/main.rs index f79aaf6..74d709f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,8 +13,7 @@ fn get_logo_path() -> PathBuf { } fn read_logo(path: PathBuf) -> String { - fs::read_to_string(path).unwrap_or_default() -} + fs::read_to_string(path).unwrap_or_else(|_| "Logo not found".red().to_string())} fn main() {