feat: improve http 429 handling (#3541)

This commit is contained in:
Dag 2023-07-16 07:18:38 +02:00 committed by GitHub
parent 773eea196f
commit 310160fd92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -197,7 +197,7 @@ function getContents(
}
}
throw new HttpException($exceptionMessage, $result['code']);
throw new HttpException(trim($exceptionMessage), $result['code']);
}
if ($returnFull === true) {
return $response;