1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-10-06 08:07:20 +02:00

Fixed: Fatal error will not be logged when browser is closed (linux/osx)

This commit is contained in:
Mark McDowall 2014-02-10 01:25:06 -08:00
parent 267c97052e
commit 2d50957baa

View File

@ -238,6 +238,12 @@ private void ProcessResults(MessageResult result)
if (command == null)
{
var platform = (int)Environment.OSVersion.Platform;
if (platform == 4 || platform == 6 || platform == 128)
{
return;
}
throw new SerializationException("Couldn't parse message " + message.Value);
}