small fix
This commit is contained in:
parent
8b5563fbd2
commit
c5beeab0eb
@ -140,8 +140,8 @@ class PluginManager {
|
|||||||
try {
|
try {
|
||||||
$plugin->load($this->maniaControl);
|
$plugin->load($this->maniaControl);
|
||||||
} catch(\Exception $e) {
|
} catch(\Exception $e) {
|
||||||
$this->maniaControl->chat->sendError('Error while plugin activation: ' . $e->getMessage(), $adminLogin);
|
$this->maniaControl->chat->sendError('Error while plugin activating ' . $pluginClass . ': ' . $e->getMessage(), $adminLogin);
|
||||||
$this->maniaControl->log('Error while plugin activation: ' . $e->getMessage());
|
$this->maniaControl->log('Error while plugin activation: ' . $pluginClass . ': ' . $e->getMessage());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user