diff --git a/1.7.md b/1.7.md index 42f906ab..ff5310f5 100644 --- a/1.7.md +++ b/1.7.md @@ -11,10 +11,19 @@ Thanks to the following people for contributing this release. ### General - Made it easier to get verbose logs. -- Added `--verbose` to print a verbose log to stdout. \[1\] - Added issue template for github. -\[1\] Use `neofetch --verbose 2> file` to save a verbose log for bug reporting. +### Error Messages + +Neofetch now supports displaying error messages and saving a verbose log for
+troubleshooting. + +![log](https://ipfs.pics/ipfs/QmeTWGKozY79zcxbrgXueyTRfQcTUe7ZmDqLv4ASgJB4G4) + +- Added `-v` to print error messages to stdout. +- Added `-vv` to print a verbose log to stdout. \[1\] + +\[1\] Use `neofetch -vv 2> file` to save a verbose log for bug reporting. ### Info diff --git a/neofetch b/neofetch index 59ddcf40..1cefea04 100755 --- a/neofetch +++ b/neofetch @@ -1902,6 +1902,7 @@ getwallpaper () { getascii () { if [ ! -f "$ascii" ] || [ "$ascii" == "distro" ]; then # Error message + [ "$ascii" != "distro" ] && \ [ ! -f "$ascii" ] && err "Ascii file not found, using distro ascii" # Lowercase the distro name