We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e65e9dd + 91b2d78 commit e1f3a78Copy full SHA for e1f3a78
src/OAuth2Handler.php
@@ -286,7 +286,7 @@ protected function requestNewAccessToken()
286
287
$this->rawToken = $this->tokenFactory($rawData);
288
} catch (BadResponseException $e) {
289
- throw new Exception\AccessTokenRequestException('Unable to request a new access token', $e);
+ throw new Exception\AccessTokenRequestException('Unable to request a new access token: ' . $e->getMessage(), $e);
290
}
291
292
0 commit comments