aboutsummaryrefslogtreecommitdiff
path: root/crates/server/src/main_loop/mod.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-12 20:12:51 +0100
committerAleksey Kladov <[email protected]>2018-08-12 20:12:51 +0100
commitb518fd0ef91d8ca3d9814b335c7be8684d1692a9 (patch)
tree68d00e49fdf18a56afd94ceee792cc1bf151768e /crates/server/src/main_loop/mod.rs
parent196236980613249f25ccb2968a214922f7db10f1 (diff)
Sans IO dispatch
Diffstat (limited to 'crates/server/src/main_loop/mod.rs')
-rw-r--r--crates/server/src/main_loop/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/server/src/main_loop/mod.rs b/crates/server/src/main_loop/mod.rs
index e7b24e53f..e80b9988d 100644
--- a/crates/server/src/main_loop/mod.rs
+++ b/crates/server/src/main_loop/mod.rs
@@ -102,7 +102,7 @@ fn on_msg(
102 } 102 }
103 if let Some(req) = req { 103 if let Some(req) = req {
104 error!("unknown method: {:?}", req); 104 error!("unknown method: {:?}", req);
105 dispatch::unknown_method(io, req)?; 105 io.send(RawMsg::Response(dispatch::unknown_method(req.id)?));
106 } 106 }
107 } 107 }
108 RawMsg::Notification(not) => { 108 RawMsg::Notification(not) => {