server also should return error if failure

This commit is contained in:
Y. T. Chung
2015-08-23 15:13:40 +08:00
parent 6dafc937a1
commit ac3bb6dfc3

View File

@@ -168,4 +168,5 @@ fn main() {
.ok().expect("`threads` should be an integer");
RelayServer::new(config).run(threads);
panic!("Server should never ends");
}