diff --git a/Cargo.lock b/Cargo.lock index 9cd0a0c..a2c40ab 100644 Binary files a/Cargo.lock and b/Cargo.lock differ diff --git a/Cargo.toml b/Cargo.toml index 15d69db..445fe87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emgauwa-core" -version = "0.5.1" +version = "0.5.2" edition = "2021" authors = ["Tobias Reisinger "] @@ -12,14 +12,12 @@ actix-web = "4.4" actix-web-actors = "4.2" actix-cors = "0.7" -utoipa = "4.2" -utoipa-swagger-ui = { version = "6.0", features = ["actix-web", "debug-embed"] } +utoipa = "5.3" +utoipa-swagger-ui = { version = "8.1", features = ["actix-web", "debug-embed"] } log = "0.4" -chrono = { version = "0.4", features = ["serde"] } -uuid = { version = "1.5", features = ["serde", "v4"] } -itertools = "0.12" +itertools = "0.13" serde = "1.0" serde_json = "1.0" diff --git a/src/handlers/v1/ws/relays/mod.rs b/src/handlers/v1/ws/relays/mod.rs index 106053d..72e432f 100644 --- a/src/handlers/v1/ws/relays/mod.rs +++ b/src/handlers/v1/ws/relays/mod.rs @@ -32,8 +32,9 @@ impl Actor for RelaysWs { block_on(self.app_state.send(ConnectRelayClient { addr: ctx.address(), - })) - .unwrap(); + })).map_err( + |err| log::error!("Error connecting relay-client: {:?}", err) + ).ok(); } Err(err) => { log::error!("Error getting relays: {:?}", err);