aboutsummaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorMax Audron <me@audron.dev>2026-02-22 14:06:16 +0100
committerMax Audron <me@audron.dev>2026-02-22 14:06:16 +0100
commit024eb3df4a0786a92033baea123aa779998cdc28 (patch)
tree412670a982455cb3351c199b7df21b0b22f3a36e /src/util.rs
parentSyncable trait error handling (diff)
NetworkList and signalproxy objects error handling
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.rs b/src/util.rs
index 9c78bdb..1f6fd9c 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -51,6 +51,6 @@ macro_rules! s {
#[macro_export]
macro_rules! get_param {
( $msg:expr ) => {
- $msg.params.remove(0).try_into().unwrap()
+ $msg.params.remove(0).try_into()?
};
}