mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-31 00:50:45 +01:00
Fix CommContext not catching the right JsonException
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user