src/eXpansion/Framework/Core/Plugins/GuiHandler.php 1 location
|
@@ 219-227 (lines=9) @@
|
| 216 |
|
/** |
| 217 |
|
* Execute multi call & handle error. |
| 218 |
|
*/ |
| 219 |
|
protected function executeMultiCall() |
| 220 |
|
{ |
| 221 |
|
try { |
| 222 |
|
$this->factory->getConnection()->executeMulticall(); |
| 223 |
|
} catch (\Exception $e) { |
| 224 |
|
$this->logger->error("Couldn't deliver all manialinks : ".$e->getMessage(), ['exception' => $e]); |
| 225 |
|
$this->console->writeln('$F00ERROR - Couldn\'t deliver all manialinks : '.$e->getMessage()); |
| 226 |
|
} |
| 227 |
|
} |
| 228 |
|
|
| 229 |
|
/** |
| 230 |
|
* Get list of all manialinks that needs to be displayed |
src/eXpansion/Bundle/CustomChat/Plugins/CustomChat.php 1 location
|
@@ 252-260 (lines=9) @@
|
| 249 |
|
* |
| 250 |
|
* @return void |
| 251 |
|
*/ |
| 252 |
|
public function onApplicationReady() |
| 253 |
|
{ |
| 254 |
|
try { |
| 255 |
|
$this->factory->getConnection()->chatEnableManualRouting(); |
| 256 |
|
} catch (\Exception $e) { |
| 257 |
|
$this->console->writeln('Error while enabling custom chat: $f00'.$e->getMessage()); |
| 258 |
|
$this->logger->error("Error enabling custom chat", ['exception' => $e]); |
| 259 |
|
} |
| 260 |
|
} |
| 261 |
|
|
| 262 |
|
/** |
| 263 |
|
* called when requesting application stop |