mirror of https://github.com/Radarr/Radarr
Fixed: Fatal error will not be logged when browser is closed (linux/osx)
This commit is contained in:
parent
267c97052e
commit
2d50957baa
|
@ -238,6 +238,12 @@ namespace Microsoft.AspNet.SignalR.Infrastructure
|
||||||
|
|
||||||
if (command == null)
|
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);
|
throw new SerializationException("Couldn't parse message " + message.Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue