Fix a dispatcher error.

Ladouceur.
This commit is contained in:
Michael VanOverbeek 2017-02-16 01:30:37 +00:00
parent 5f331ab706
commit a74031ae08

View file

@ -341,7 +341,7 @@ namespace ShiftOS.Server
Console.WriteLine("An error occurred with that one.");
Console.WriteLine(ex);
server.DispatchTo(new Guid(msg.GUID), new NetObject("error", new ServerMessage { Name = "Error", GUID = "Server", Contents = JsonConvert.SerializeObject(ex) }));
ClientDispatcher.DispatchTo("Error", msg.GUID, ex);
}
}