[gnome-music/wip/merge: 244/343] album: don't crash on undiscoverable uris



commit 194bf54a1e7f9c293f0468639fde60b9a66100bf
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Thu Jul 18 11:08:17 2013 +0200

    album: don't crash on undiscoverable uris
    
    Fixes #46

 gnomemusic/widgets.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index 7cbc64b..ce37c2b 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -256,7 +256,7 @@ class AlbumWidget(Gtk.EventBox):
                                [escapedTitle, "", "", "",
                                 None, track,
                                 NOW_PLAYING_ICON_NAME, False])
-            except IOError as err:
+            except Exception as err:
                 logging.debug(err.message)
                 logging.debug("failed to discover url " + track.get_url())
                 self.model.set(iter,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]