aboutsummaryrefslogtreecommitdiff
path: root/macros/src
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2021-10-20 17:05:50 +0200
committerMax Audron <audron@cocaine.farm>2021-10-20 17:05:50 +0200
commitef0fe8b373563ecd9701bcdee73169b94f6def47 (patch)
tree3d707d78152289c4e31daccf7724eb618b25844e /macros/src
parentfix configuration not loading correctly on release builds (diff)
change hook errors to be logged as warnings
they in nearly all cases aren't critical enough to warrant an actual error messages
Diffstat (limited to '')
-rw-r--r--macros/src/macro_types/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/src/macro_types/mod.rs b/macros/src/macro_types/mod.rs
index 0afec11..ac8e678 100644
--- a/macros/src/macro_types/mod.rs
+++ b/macros/src/macro_types/mod.rs
@@ -105,7 +105,7 @@ impl IrcItem for Command {
let result = #call;
if let Err(err) = result {
- tracing::error!("error in matcher: {:?}: {:?}", #name, err)
+ tracing::warn!("error in matcher: {:?}: {:?}", #name, err)
}
}
}
@@ -173,7 +173,7 @@ impl IrcItem for Hook {
let result = #call;
if let Err(err) = result {
- tracing::error!("error in matcher: {:?}: {:?}", #name, err)
+ tracing::warn!("error in matcher: {:?}: {:?}", #name, err)
}
}
}
@@ -270,7 +270,7 @@ impl IrcItem for Matcher {
let result = #call;
if let Err(err) = result {
- tracing::error!("error in matcher: {:?}: {:?}", #name, err)
+ tracing::warn!("error in matcher: {:?}: {:?}", #name, err)
}
}
}