@@ -221,8 +221,7 @@ |
||
| 221 | 221 | |
| 222 | 222 | try { |
| 223 | 223 | $responseData = json_decode($httpResponse->getBody()->getContents()); |
| 224 | - } |
|
| 225 | - catch (\Exception $exception) { |
|
| 224 | + } catch (\Exception $exception) { |
|
| 226 | 225 | $responseData = []; |
| 227 | 226 | } |
| 228 | 227 | |
@@ -28,8 +28,7 @@ |
||
| 28 | 28 | |
| 29 | 29 | try { |
| 30 | 30 | $httpResponse = $this->httpClient->request('GET', $this->getEndpoint('sessions/' . $sessionId), $headers); |
| 31 | - } |
|
| 32 | - catch (\Exception $exception) { |
|
| 31 | + } catch (\Exception $exception) { |
|
| 33 | 32 | throw new InvalidRequestException($exception->getMessage()); |
| 34 | 33 | } |
| 35 | 34 | |
@@ -32,8 +32,7 @@ |
||
| 32 | 32 | |
| 33 | 33 | try { |
| 34 | 34 | $httpResponse = $this->httpClient->request('GET', $this->getEndpoint('sessions/' . $sessionId), $headers); |
| 35 | - } |
|
| 36 | - catch (\Exception $exception) { |
|
| 35 | + } catch (\Exception $exception) { |
|
| 37 | 36 | throw new InvalidRequestException($exception->getMessage()); |
| 38 | 37 | } |
| 39 | 38 | |