From 892786d2f39550183b99859bcc20569b26f8c3a6 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Tue, 24 Dec 2024 23:37:52 +0100 Subject: [PATCH] Replace unwrap() with error logging --- Cargo.lock | Bin 72924 -> 80470 bytes Cargo.toml | 10 ++++------ src/handlers/v1/ws/relays/mod.rs | 5 +++-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9cd0a0c9a5be1cfa66bdaf8694598488b9910435..a2c40ab2774b9bbf1ea7af5ede9fc50206d2ffe4 100644 GIT binary patch delta 18239 zcma)^3zT0~eec&9@(y_sGBe5KMSvhm;@M}PeI6+DpZEf`mYD>#SC)i*&e_`xCYfYr z0wgX}v|YVgFM?b9S9@E;SFP3p{(a!B3RzzJpto|dm4aFYpY?%=R_nd1$o>4zep0fA%B`!)!eq78O`O=G&KqaqB+GK!6($Bp z!uXPnVT~K_DBb8JRasga&lu^XU;04s=}tqswUBminVeq%I7gF(wPqv zD+a^zRU0<#o1Hz>e%iEqmAn4r?{@5;oONO6(n|+a+&#P?+C7@O#-=W@nTylJ@>^qA zxh`yCU2Kv@SEjMCt9_xHJXOjm%l4OPRwgEi+Yh{Z_tLQCiX~ykvWwsL!0xfUwuwp0 zyiiTiG+C2#4sq?XDvOOuve+hdop@bmiB5TDrfiv&HqKK1D^HeP>#bV;;Q`Lz@$D0x zQWddmFz1-pbycSg&oFW3lR8iGoGn)-jTI-6G~QIDie07hrgCXj)RmSc_O4#JHd=Dv z(Ec3)1>?>XPCXQ3@ z@+M)isV{9A7fO3Rq_BnZt}$_J3Qnr1RF$hb^JNjY$N%K&&xetJ-`(-1RJw>=;<6$w zV|LYBubM_#cDLdin$f~4D9cPlJWzu9xQnec`fjf29j`^Uudhvqr*|Ubj zm#!Wkt1??FXNtOUjpDTvw!T)mN;UiCtkJ2dv~5gooJze;e8$6LlUkFxD#=y2@gL$a z_2lCDXMcL_aFmAoubvodeC60?XELkvERN$M&*L&~Y{4Hh;y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g2YOI&gA^226I0mi#BPS;7`~S8vSvR~~i6BBo5X|EoNGAwTuu?U@ zSy?y z4-ZXOD4@n&3e4;#A#-r>=S=hg${bW=s-~RwZ<$h1;|NBYFzjt>jF&oh&E1-_u zNVK9XalmDSbB20lTaJ#ErF`BK5XF=qu42By$`5;0T_Lq8|5YAtA^<;0SmDf_759O2#v4he%aU33|5d`n7E-OT+H_< zUb;UZ`wsp0jVG&w+*o%2vdG$K9hTH6rIr;3!fU?ZL9&i3C(LD>Bm-vA>39ysJ|oRY zp)>arIPTAEOU~|?athBxm`v(KG{|uxPgx5ff0Z$Sd{;yy3x*NB1Ael9h89Jcz?O(F z7@53b=S#nz(!VqVim{4Q$N|C;Y*fa?LzMA^xAlsfUq@-fq5WP-SEwhf6l_>Kf? zk3qiPkhT4dIgL>1WHH|^V2-nz>=D{xvx#rsuzUv#h&3bFqiV@*i4~LyjAQvW5K$(O zLvsvrnermGf{{!EM{NVrq 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);