@@ -72,15 +72,13 @@ |
||
72 | 72 | try { |
73 | 73 | $response = $this->httpClient->post($uri, $formData); |
74 | 74 | $this->logger->debug('Got response back from Telegram, applying json_decode'); |
75 | - } |
|
76 | - catch (ClientException $e) { |
|
75 | + } catch (ClientException $e) { |
|
77 | 76 | $response = $e->getResponse(); |
78 | 77 | // It can happen that we have a network problem, in such case, we can't do nothing about it, so rethrow |
79 | 78 | if (empty($response)) { |
80 | 79 | throw $e; |
81 | 80 | } |
82 | - } |
|
83 | - finally { |
|
81 | + } finally { |
|
84 | 82 | return new TelegramRawData((string) $response->getBody(), $e); |
85 | 83 | } |
86 | 84 | } |