Skip to content

Commit

Permalink
error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickFuereder committed Apr 5, 2024
1 parent 219a3cb commit d377852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/include/rcmail_oauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ public function refresh_access_token(array $token)
'authorization' => $authorization,
];
} catch (RequestException $e) {
trigger_error($e->getRequest(), $e->getResponse(), E_USER_ERROR);
trigger_error($e->getResponse(), E_USER_ERROR);

$this->last_error = 'OAuth refresh token request failed: ' . $e->getMessage();
$formatter = new MessageFormatter();
Expand Down

0 comments on commit d377852

Please sign in to comment.