1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-16 22:41:18 +02:00

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

View File

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