1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-02-27 00:23:19 +00: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);
}