@@ -136,14 +136,12 @@ |
||
| 136 | 136 | $logger->debug('Got message from client (type: {messageType})', [ |
| 137 | 137 | 'messageType' => $message->getType(), |
| 138 | 138 | ]); |
| 139 | - } |
|
| 140 | - catch (MalformedRequestException $e) |
|
| 139 | + } catch (MalformedRequestException $e) |
|
| 141 | 140 | { |
| 142 | 141 | $logger->error('Got malformed message from client (reason: {reason})', [ |
| 143 | 142 | 'reason' => $e->getMessage(), |
| 144 | 143 | ]); |
| 145 | - } |
|
| 146 | - catch (UnknownRequestException $e) |
|
| 144 | + } catch (UnknownRequestException $e) |
|
| 147 | 145 | { |
| 148 | 146 | // The server itself sometimes sends out messages that are received here, hence debug |
| 149 | 147 | $logger->debug('Got unknown message from client'); |
@@ -224,8 +224,7 @@ |
||
| 224 | 224 | |
| 225 | 225 | $this->_eventDispatcher->dispatch(Events::INSTANCE_STATE_REACHABLE, |
| 226 | 226 | new InstanceStateEvent($instance)); |
| 227 | - } |
|
| 228 | - catch (\Exception $e) |
|
| 227 | + } catch (\Exception $e) |
|
| 229 | 228 | { |
| 230 | 229 | $this->_eventDispatcher->dispatch(Events::INSTANCE_STATE_UNREACHABLE, |
| 231 | 230 | new InstanceStateEvent($instance)); |