Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
Merge ce76fab into b7c55c8
Browse files Browse the repository at this point in the history
  • Loading branch information
mpesari committed Jul 16, 2019
2 parents b7c55c8 + ce76fab commit 5692fb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Klarna/Rest/Transport/GuzzleConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public function createRequest($url, $method = 'GET', array $headers = [], $body
* @param string[] $options Request options
*
* @throws RequestException When an error is encountered
* @throws \LogicException When the adapter does not populate a response
* @throws \RuntimeException When the adapter does not populate a response
*
* @return ResponseInterface
*/
Expand All @@ -232,7 +232,7 @@ public function send(RequestInterface $request, array $options = [])
return $response;
} catch (RequestException $e) {
throw new \RuntimeException($e->getMessage(), $e->getCode(), $e);
} catch (Throwable $e) {
} catch (\Throwable $e) {
throw new \RuntimeException($e->getMessage(), $e->getCode(), $e);
}
}
Expand Down

0 comments on commit 5692fb2

Please sign in to comment.