diff --git a/src/Tgstation.Server.Client/ApiClient.cs b/src/Tgstation.Server.Client/ApiClient.cs index c9e16bdca2..ad507b4d7f 100644 --- a/src/Tgstation.Server.Client/ApiClient.cs +++ b/src/Tgstation.Server.Client/ApiClient.cs @@ -102,7 +102,7 @@ namespace Tgstation.Server.Client //check if json serializes to an error message errorMessage = JsonConvert.DeserializeObject(json, serializerSettings); } - catch (JsonSerializationException) { } + catch (JsonException) { } switch (response.StatusCode) {