small fix

This commit is contained in:
kremsy 2014-01-18 22:06:54 +01:00 committed by Steffen Schröder
parent 8b5563fbd2
commit c5beeab0eb

View File

@ -140,8 +140,8 @@ class PluginManager {
try {
$plugin->load($this->maniaControl);
} catch(\Exception $e) {
$this->maniaControl->chat->sendError('Error while plugin activation: ' . $e->getMessage(), $adminLogin);
$this->maniaControl->log('Error while plugin activation: ' . $e->getMessage());
$this->maniaControl->chat->sendError('Error while plugin activating ' . $pluginClass . ': ' . $e->getMessage(), $adminLogin);
$this->maniaControl->log('Error while plugin activation: ' . $pluginClass . ': ' . $e->getMessage());
return false;
}