From 12876c23a21acb66837699e5106126e91fb5c5e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 23 Aug 2014 19:13:32 +0200 Subject: [PATCH] fix tried logging to non-existant channel exception closes #6168 --- OpenRA.Game/Network/Session.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/OpenRA.Game/Network/Session.cs b/OpenRA.Game/Network/Session.cs index 9756f54f93..6a90569d45 100644 --- a/OpenRA.Game/Network/Session.cs +++ b/OpenRA.Game/Network/Session.cs @@ -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); } }