Skip to content

Commit

Permalink
0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
divi255 committed Nov 10, 2024
1 parent 91f0918 commit 81ee40b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metrics-scope/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion metrics-scope/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "metrics-scope"
version = "0.1.4"
version = "0.1.5"
edition = "2021"
authors = ["Serhij S. <[email protected]>"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion metrics-scope/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fn read_remote(
let mut client = TcpStream::connect_timeout(&addr, timeout)?;
client.set_nodelay(true)?;
client.set_read_timeout(Some(timeout))?;
let version = protocol::read_version(&client).expect("Failed to read version");
let version = protocol::read_version(&client)?;
if version != protocol::VERSION {
return Err(format!("Unsupported version: {}", version).into());
}
Expand Down

0 comments on commit 81ee40b

Please sign in to comment.