aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ShiftOS.Server/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS.Server/Program.cs b/ShiftOS.Server/Program.cs
index 0cae991..4a352fe 100644
--- a/ShiftOS.Server/Program.cs
+++ b/ShiftOS.Server/Program.cs
@@ -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);
}
}