From f8de62efbbbdccbafe5a5932f10e44229061fa5a Mon Sep 17 00:00:00 2001 From: Alex Rothuis Date: Mon, 27 Mar 2017 12:06:41 +0200 Subject: [PATCH] Use new "http_errors" Guzzle config instead of "exceptions" --- .../StepupSelfService/SelfServiceBundle/Service/U2fService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/U2fService.php b/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/U2fService.php index 0bad0c3b0..fbc7ba9ba 100644 --- a/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/U2fService.php +++ b/src/Surfnet/StepupSelfService/SelfServiceBundle/Service/U2fService.php @@ -78,7 +78,7 @@ public function createRegisterRequest(CreateU2fRegisterRequestCommand $command) $response = $this->guzzleClient->post( 'api/u2f/create-register-request', - ['json' => $body, 'exceptions' => false] + ['json' => $body, 'http_errors' => false] ); $statusCode = $response->getStatusCode();