fix: include http code in exception (#2726)

This commit is contained in:
Dag 2022-05-17 23:47:12 +02:00 committed by GitHub
parent 0212c4790f
commit 7d00b0c5df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -108,8 +108,9 @@ function getContents(
sprintf(
'%s %s',
$result['code'],
RSSBRIDGE_HTTP_STATUS_CODES[$result['code']] ?? $result['code']
)
RSSBRIDGE_HTTP_STATUS_CODES[$result['code']] ?? ''
),
$result['code']
);
}
if ($returnFull === true) {