Skip to content

Commit

Permalink
Disable guzzle http status code exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Cherry-Pie committed Apr 25, 2018
1 parent a12aee0 commit 81ed5bf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Gamstop/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ public function __construct($apiKey)
];

$this->client = new Client([
'base_uri' => self::URI,
'timeout' => 2,
'base_uri' => self::URI,
'timeout' => 2,
'http_errors' => false,
]);
}

Expand Down Expand Up @@ -92,4 +93,4 @@ public function checkParams($firstName, $lastName, $dateOfBirth, $email, $postco
}
}

}
}

0 comments on commit 81ed5bf

Please sign in to comment.