server codegen unimplemented

This commit is contained in:
Lucio Franco
2019-09-20 15:39:03 -06:00
parent 768f4afdff
commit da279a957d
+1 -1
View File
@@ -67,7 +67,7 @@ pub(crate) fn generate(service: &Service, proto_path: &str) -> TokenStream {
#methods
// TODO: implement grpc unimplemented for server
_ => unimplemented!("use grpc unimplemented"),
_ => Err(tonic::Status::unimplemented("")),
}
}
}