src/eXpansion/Bundle/CustomChat/Plugins/CustomChat.php 1 location
|
@@ 241-249 (lines=9) @@
|
| 238 |
|
* |
| 239 |
|
* @return void |
| 240 |
|
*/ |
| 241 |
|
public function onApplicationReady() |
| 242 |
|
{ |
| 243 |
|
try { |
| 244 |
|
$this->connection->chatEnableManualRouting(); |
| 245 |
|
} catch (\Exception $e) { |
| 246 |
|
$this->console->writeln('Error while enabling custom chat: $f00'.$e->getMessage()); |
| 247 |
|
$this->logger->error("Error enabling custom chat", ['exception' => $e]); |
| 248 |
|
} |
| 249 |
|
} |
| 250 |
|
|
| 251 |
|
/** |
| 252 |
|
* called when requesting application stop |
src/eXpansion/Framework/Core/Plugins/GuiHandler.php 1 location
|
@@ 188-196 (lines=9) @@
|
| 185 |
|
/** |
| 186 |
|
* Execute multi call & handle error. |
| 187 |
|
*/ |
| 188 |
|
protected function executeMultiCall() |
| 189 |
|
{ |
| 190 |
|
try { |
| 191 |
|
$this->connection->executeMulticall(); |
| 192 |
|
} catch (\Exception $e) { |
| 193 |
|
$this->logger->error("Couldn't deliver all manialinks : ".$e->getMessage(), ['exception' => $e]); |
| 194 |
|
$this->console->writeln('$F00ERROR - Couldn\'t deliver all manialinks : '.$e->getMessage()); |
| 195 |
|
} |
| 196 |
|
} |
| 197 |
|
|
| 198 |
|
/** |
| 199 |
|
* Get list of all manialinks that needs to be displayed |