Log missing avatar as error instead of throwing exceptions
This commit is contained in:
1 parent
85ad6050f8
commit
8244fd638b
1 file changed
+1
-1
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user