[gnome-music/wip/mschraal/scrobbler-fix-goa-error] scrobbler: Fix log warning crash



commit 0583b3b6d151258e0c2ad8ae1e8b2207c6d5db92
Author: Marinus Schraal <mschraal gnome org>
Date:   Sat Feb 15 15:40:00 2020 +0100

    scrobbler: Fix log warning crash

 gnomemusic/scrobbler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/scrobbler.py b/gnomemusic/scrobbler.py
index dc4f4958..98bf0ba1 100644
--- a/gnomemusic/scrobbler.py
+++ b/gnomemusic/scrobbler.py
@@ -73,7 +73,7 @@ class GoaLastFM(GObject.GObject):
             self._client = source.new_finish(result)
         except GLib.Error as error:
             self._log.warning("Error: {}, {}".format(
-                Goa.Error(error.code), error.message))
+                error.code, error.message))
             return
 
         manager = self._client.get_manager()


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