diff --git a/Cargo.lock b/Cargo.lock index 58e2840..4ee2b0a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1449,6 +1449,8 @@ dependencies = [ [[package]] name = "tonic-tracing-opentelemetry" version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d84d512c5d647751ec9444ea3d364be81b1f0b2de6edb88fe02e2cb9e133fa2" dependencies = [ "futures-core", "futures-util", diff --git a/news.proto b/news.proto index af9f9eb..a6cb527 100644 --- a/news.proto +++ b/news.proto @@ -8,7 +8,7 @@ message News { int32 id = 1; string title = 2; string body = 3; - string postImage = 4; + string post_image = 4; } service NewsService { diff --git a/src/main.rs b/src/main.rs index d638c81..2fe23ad 100644 --- a/src/main.rs +++ b/src/main.rs @@ -212,7 +212,9 @@ fn init_tracer() -> Result<()> { #[tokio::main] async fn main() -> Result<()> { - init_tracer()?; + if let Err(error) = init_tracer() { + eprintln!("Init Tracer error: {}", error); + } let addr = ([127, 0, 0, 1], 50051).into();