aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Server
diff options
context:
space:
mode:
authorMichael VanOverbeek <[email protected]>2017-02-16 01:30:37 +0000
committerMichael VanOverbeek <[email protected]>2017-02-16 01:30:43 +0000
commita74031ae084e51b939bb62df48e77ceeb6a9ed42 (patch)
treef636a351e210556d3868ce5f5102f3fee261c409 /ShiftOS.Server
parent5f331ab7066a41d1961538b39646f4ca29eb2567 (diff)
downloadshiftos_thereturn-a74031ae084e51b939bb62df48e77ceeb6a9ed42.tar.gz
shiftos_thereturn-a74031ae084e51b939bb62df48e77ceeb6a9ed42.tar.bz2
shiftos_thereturn-a74031ae084e51b939bb62df48e77ceeb6a9ed42.zip
Fix a dispatcher error.
Ladouceur.
Diffstat (limited to 'ShiftOS.Server')
-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);
}
}