From 095af339c035bc750993318311c9a35ea455e9a7 Mon Sep 17 00:00:00 2001 From: Jokler Date: Mon, 5 Mar 2018 16:13:45 +0100 Subject: Add Tell specific errors and improve error logging for commands --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.rs') 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 {}", -- cgit v1.2.3-70-g09d2