Transformed some errors into warnings.
This commit is contained in:
parent
1dd89882b1
commit
41299b9529
@ -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 };
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user