diff options
| author | 2013-10-22 22:23:29 +0200 | |
|---|---|---|
| committer | 2013-10-22 22:23:29 +0200 | |
| commit | e6a28cdee229ca1a72d55dc18ea7a23ef657cfbf (patch) | |
| tree | 33e679109a73b3559dfc49a95ec8d58a9a01e09d | |
| parent | d94d948706767996102bf53dfc9d651fd58a34e5 (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.
| -rw-r--r-- | app/models/Feed.php | 2 |
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é |
