aboutsummaryrefslogtreecommitdiff
path: root/lib/contents.php
diff options
context:
space:
mode:
authorGravatar triatic <42704418+triatic@users.noreply.github.com> 2018-12-10 20:20:13 +0000
committerGravatar LogMANOriginal <LogMANOriginal@users.noreply.github.com> 2018-12-10 21:20:13 +0100
commit1c58c04271dc69fe3f9c42d7288f1d8f90cd0db9 (patch)
tree64d5fa44e3ac76e255b3423a2c8ffc84e7628899 /lib/contents.php
parent89218f1da684173416481d8053eedd3a8d1a6a18 (diff)
downloadrss-bridge-1c58c04271dc69fe3f9c42d7288f1d8f90cd0db9.tar.gz
rss-bridge-1c58c04271dc69fe3f9c42d7288f1d8f90cd0db9.tar.zst
rss-bridge-1c58c04271dc69fe3f9c42d7288f1d8f90cd0db9.zip
[contents] Better error reporting for cUrl errors (#958)
References #954
Diffstat (limited to 'lib/contents.php')
-rw-r--r--lib/contents.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/contents.php b/lib/contents.php
index 9c0b1224..5d795572 100644
--- a/lib/contents.php
+++ b/lib/contents.php
@@ -153,6 +153,7 @@ EOD
returnError(<<<EOD
The requested resource cannot be found!
Please make sure your input parameters are correct!
+cUrl error: $curlError ($curlErrno)
EOD
, $errorCode);
}