Fix CommContext not catching the right JsonException

This commit is contained in:
Cyberboss
2018-10-23 15:50:01 -04:00
parent 847f21e531
commit bf292ef560
@@ -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);