Skip to content

Commit

Permalink
Merge pull request #5 from oceanapplications/analysis-qxKJxA
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
oceanapplications authored Nov 14, 2017
2 parents 96b0638 + fb0063a commit 70e1b0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ protected function request($endpoint, $params)

if (array_key_exists('error', $rsp)) {
$error = $rsp['error'];

throw new \InvalidArgumentException($error['info'], $error['code']);
}

Expand Down

0 comments on commit 70e1b0e

Please sign in to comment.