We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6ded1e commit 91b2d78Copy full SHA for 91b2d78
src/OAuth2Handler.php
@@ -253,7 +253,7 @@ protected function requestNewAccessToken()
253
254
$this->rawToken = $this->tokenFactory($rawData);
255
} catch (BadResponseException $e) {
256
- 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);
257
}
258
259
0 commit comments