@@ -171,7 +171,8 @@ discard block |
||
171 | 171 | $res = $this->http_request->$method_name($url, [], $form_params); |
172 | 172 | $response = $this->decodeRequest($res, $method, $url, $form_params); |
173 | 173 | return $response; |
174 | - } catch (TmdbException $e) { |
|
174 | + } |
|
175 | + catch (TmdbException $e) { |
|
175 | 176 | $this->logger->error('sendRequest failed : '.$e->getMessage(), array('method' => $method, 'url' => $url, 'form_params' => $form_params)); |
176 | 177 | throw $e; |
177 | 178 | } |
@@ -236,7 +237,8 @@ discard block |
||
236 | 237 | $this->configuration = $this->getRequest('configuration'); |
237 | 238 | } |
238 | 239 | return $this->configuration; |
239 | - } catch (TmdbException $ex) { |
|
240 | + } |
|
241 | + catch (TmdbException $ex) { |
|
240 | 242 | throw $ex; |
241 | 243 | } |
242 | 244 | } |