From bf292ef560fd503dc5d51da1f09e35de333700ff Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Tue, 23 Oct 2018 15:50:01 -0400 Subject: [PATCH] Fix CommContext not catching the right JsonException --- src/Tgstation.Server.Host/Components/Interop/CommContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host/Components/Interop/CommContext.cs b/src/Tgstation.Server.Host/Components/Interop/CommContext.cs index 1b3c95a6c7..f9c5208d88 100644 --- a/src/Tgstation.Server.Host/Components/Interop/CommContext.cs +++ b/src/Tgstation.Server.Host/Components/Interop/CommContext.cs @@ -113,7 +113,7 @@ namespace Tgstation.Server.Host.Components.Interop RawJson = file }; } - catch (JsonSerializationException ex) + catch (JsonException ex) { //file not fully written yet logger.LogDebug("Suppressing json convert exception for command file write: {0}", ex);