src/eXpansion/Bundle/CustomChat/Plugins/CustomChat.php 1 location
|
@@ 213-221 (lines=9) @@
|
| 210 |
|
* |
| 211 |
|
* @return void |
| 212 |
|
*/ |
| 213 |
|
public function onApplicationReady() |
| 214 |
|
{ |
| 215 |
|
try { |
| 216 |
|
$this->connection->chatEnableManualRouting(); |
| 217 |
|
} catch (\Exception $e) { |
| 218 |
|
$this->console->writeln('Error while enabling custom chat: $f00'.$e->getMessage()); |
| 219 |
|
$this->logger->error("Error enabling custom chat", ['exception' => $e]); |
| 220 |
|
} |
| 221 |
|
} |
| 222 |
|
|
| 223 |
|
/** |
| 224 |
|
* called when requesting application stop |
src/eXpansion/Framework/Core/Plugins/GuiHandler.php 1 location
|
@@ 180-188 (lines=9) @@
|
| 177 |
|
/** |
| 178 |
|
* Execute multi call & handle error. |
| 179 |
|
*/ |
| 180 |
|
protected function executeMultiCall() |
| 181 |
|
{ |
| 182 |
|
try { |
| 183 |
|
$this->connection->executeMulticall(); |
| 184 |
|
} catch (\Exception $e) { |
| 185 |
|
$this->logger->error("Couldn't deliver all manialinks : ".$e->getMessage(), ['exception' => $e]); |
| 186 |
|
$this->console->writeln('$F00ERROR - Couldn\'t deliver all manialinks : '.$e->getMessage()); |
| 187 |
|
} |
| 188 |
|
} |
| 189 |
|
|
| 190 |
|
/** |
| 191 |
|
* Get list of all manialinks that needs to be displayed |