Log missing avatar as error instead of throwing exceptions

This commit is contained in:
Florian Küpper committed 2017-10-08 12:56:37 +02:00
1 parent 85ad6050f8
commit 8244fd638b
1 file changed
+1 -1
+1 -1
View File
@@ -67,7 +67,7 @@ namespace VocaluxeLib.Profile
{
Avatar = CBase.Profiles.GetAvatarByFilename(value);
if (Avatar == null)
throw new Exception("Avatar '" + value + "' not found");
CBase.Log.LogError("Avatar '" + value + "' not found");
}
}