aboutsummaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-10-22 22:23:29 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-10-22 22:23:29 +0200
commite6a28cdee229ca1a72d55dc18ea7a23ef657cfbf (patch)
tree33e679109a73b3559dfc49a95ec8d58a9a01e09d /app/models
parentd94d948706767996102bf53dfc9d651fd58a34e5 (diff)
Ajoute URL dans message FeedException
Ajoute l'adresse du flux dans la description de l'erreur lorsqu'une exception est générée.
Diffstat (limited to 'app/models')
-rw-r--r--app/models/Feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/Feed.php b/app/models/Feed.php
index 02a4e6be7..10695d2a7 100644
--- a/app/models/Feed.php
+++ b/app/models/Feed.php
@@ -205,7 +205,7 @@ class Feed extends Model {
$feed->init ();
if ($feed->error ()) {
- throw new FeedException ($feed->error);
+ throw new FeedException ($feed->error . ' [' . $url . ']');
}
// si on a utilisé l'auto-discover, notre url va avoir changé