@@ -59,7 +59,8 @@ |
||
| 59 | 59 | try{ |
| 60 | 60 | $responseBody = file_get_contents($requestUri, false, $context); |
| 61 | 61 | $responseHeaders = $this->parseResponseHeaders(get_headers($requestUri, 1, $context)); |
| 62 | - }catch(\Exception $e){ |
|
| 62 | + } |
|
| 63 | + catch(\Exception $e){ |
|
| 63 | 64 | throw new ClientException($e->getMessage(), $e->getCode()); |
| 64 | 65 | } |
| 65 | 66 | |