From: Antonio Ospite Date: Wed, 1 Jul 2015 11:34:53 +0000 (+0200) Subject: tweeper.php: make error about missing stylesheet more explicit X-Git-Tag: v0.4~23 X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/69e71256e0c4a30c57fe13f0ff5b3038e2c5f563?ds=inline tweeper.php: make error about missing stylesheet more explicit --- diff --git a/tweeper.php b/tweeper.php index 81f5f85..178176d 100644 --- a/tweeper.php +++ b/tweeper.php @@ -161,7 +161,7 @@ class Tweeper { private function load_stylesheet($host) { $stylesheet = "file://" . __DIR__ . "/rss_converter_" . $host . ".xsl"; if (FALSE === file_exists($stylesheet)) { - trigger_error("Conversion to RSS not supported: $host", E_USER_ERROR); + trigger_error("Conversion to RSS not supported for $host ($stylesheet not found)", E_USER_ERROR); return NULL; }