moar fixes n' stuff

This commit is contained in:
Michael VanOverbeek 2017-02-15 22:11:27 +00:00
parent 91f97a65b2
commit 18604c054a

View file

@ -295,10 +295,11 @@ namespace ShiftOS.Server
object result = null;
try
{
result = Convert.ChangeType(JsonConvert.DeserializeObject(msg.Contents), mAttrib.ExpectedType);
result = JsonConvert.DeserializeObject(msg.Contents, mAttrib.ExpectedType);
}
catch
catch (Exception ex)
{
Console.WriteLine(ex);
result = null;
}
if (result == null)