summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fetcher/feedfetcher.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/fetcher/feedfetcher.php b/fetcher/feedfetcher.php
index 42cdfe0ba..83e58ef97 100644
--- a/fetcher/feedfetcher.php
+++ b/fetcher/feedfetcher.php
@@ -143,7 +143,8 @@ class FeedFetcher implements IFeedFetcher {
} else if ($ex instanceof UnsupportedFeedFormatException) {
$msg = $this->l10n->t('Detected feed format is not supported');
} else if ($ex instanceof InvalidCertificateException) {
- $msg = $this->l10n->t('SSL Certificate is invalid');
+ $msg = $this->l10n->t('SSL certificate error! ') .
+ $ex->getCode() . ' :' . curl_strerror($ex->getCode());
} else if ($ex instanceof InvalidUrlException) {
$msg = $this->l10n->t('Website not found');
} else if ($ex instanceof MaxRedirectException) {