@@ -107,8 +107,7 @@ |
||
107 | 107 | $this->throwRunTimeException('An error occurred, received a '.$request->getStatusCode()); |
108 | 108 | return null; |
109 | 109 | } |
110 | - } |
|
111 | - catch (\Exception $exception) { |
|
110 | + } catch (\Exception $exception) { |
|
112 | 111 | if ($exception instanceof ClientException) { |
113 | 112 | if ($exception->getCode() == 404) { |
114 | 113 | $this->log()->info('Received '.$exception->getCode()); |
@@ -131,7 +131,7 @@ |
||
131 | 131 | if ($this->config['PROXY']) { |
132 | 132 | $client = new Client(['proxy' => $this->config['PROXY']]); |
133 | 133 | if (!empty($this->config['PROXY']['no'])) { |
134 | - putenv('no_proxy=' . implode(' ,', $this->config['PROXY']['no'])); |
|
134 | + putenv('no_proxy='.implode(' ,', $this->config['PROXY']['no'])); |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | return $client; |