Merge pull request #6318 from Mailaender/log-session-deserialize-exception

Fixed Session.Deserialize exceptions not throwing properly
This commit is contained in:
Paul Chote
2014-08-27 18:39:56 +12:00

View File

@@ -59,10 +59,9 @@ namespace OpenRA.Network
return session;
}
catch (InvalidOperationException)
catch (InvalidOperationException e)
{
Log.Write("exception", "Session deserialized invalid MiniYaml:\n{0}".F(data));
throw;
throw new InvalidOperationException("Session deserialized invalid MiniYaml:\n{0}".F(data), e);
}
}