aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2018-03-05 16:13:45 +0100
committerJokler <jokler.contact@gmail.com>2018-03-05 16:13:45 +0100
commit095af339c035bc750993318311c9a35ea455e9a7 (patch)
tree55fd7c6a26730b548ff7b2e07bf2169f1675f383 /src/lib.rs
parent2754dac394cf48b840d3085715a2ffd1c97afdee (diff)
downloadfrippy-095af339c035bc750993318311c9a35ea455e9a7.tar.gz
frippy-095af339c035bc750993318311c9a35ea455e9a7.zip
Add Tell specific errors and improve error logging for commands
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a740ec7..ebadb86 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -228,7 +228,7 @@ impl ThreadedPlugins {
// Send the message to the plugin if the plugin needs it
match plugin.execute(client, &message) {
ExecutionStatus::Done => (),
- ExecutionStatus::Err(e) => error!("Error in {} - {}", name, e),
+ ExecutionStatus::Err(e) => log_error(e),
ExecutionStatus::RequiresThread => {
debug!(
"Spawning thread to execute {} with {}",