aboutsummaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
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()?
};
}