From 1f1f955eef26a718fc6866f5499139e33be9168f Mon Sep 17 00:00:00 2001 From: Michael Yoo Date: Sat, 9 Nov 2013 20:00:24 +1030 Subject: [PATCH] Add plugin name info to Evaluation Error. --- src/API/PluginAPI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/API/PluginAPI.php b/src/API/PluginAPI.php index 59707092e..3993f6180 100644 --- a/src/API/PluginAPI.php +++ b/src/API/PluginAPI.php @@ -85,7 +85,7 @@ class PluginAPI extends stdClass{ return false; } if(eval($info["code"]) === false or ($info["class"] !== "none" and !class_exists($info["class"]))){ - console("[ERROR] Failed loading plugin: evaluation error"); + console("[ERROR] Failed loading {$info['name']}: evaluation error"); return false; } @@ -205,4 +205,4 @@ class DummyPlugin implements Plugin{ public function __destruct(){ } -} \ No newline at end of file +}