also print feedurl of failing feed

This commit is contained in:
josch 2012-07-01 17:21:40 +02:00
parent 2d56cb8257
commit 1742a9cdba

View file

@ -795,7 +795,7 @@ class FeedTree(Gtk.TreeView):
try: try:
feedparse = feedparser.parse(msg.response_body.flatten().get_data()) feedparse = feedparser.parse(msg.response_body.flatten().get_data())
except: except:
print "error parsing feed:" print "error parsing feed:", feedurl
print msg.response_body.flatten().get_data().encode('base64_codec') print msg.response_body.flatten().get_data().encode('base64_codec')
self.model.set_value(it, 2, error_icon) self.model.set_value(it, 2, error_icon)
self.update_feed_done(feedurl) self.update_feed_done(feedurl)