Transformed some errors into warnings.

This commit is contained in:
tastytea 2018-12-26 05:47:06 +01:00
parent 1dd89882b1
commit 41299b9529
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ const Image image::get(const string &digest, const uint16_t size)
filename = settings::avatar_dir / "default";
if (!fs::is_regular_file(filename))
{
cerr << "Error: User not found and no default image set.\n";
cerr << "Warning: User not found and no default image set.\n";
return { 2, img };
}
}

View File

@ -64,7 +64,7 @@ int main()
}
else
{
cerr << "Error " << std::to_string(image.error)
cerr << "Warning " << std::to_string(image.error)
<< ": Could not open file.\n";
if (settings::settings.redirect_nouser)
{