[geary/mjog/plugin-problem-reports: 2/3] Plugin.SentSound: Report an error when sound doesn't play




commit 264394766dabcd08685317a317db0eb1c2cb2b82
Author: Michael Gratton <mike vee net>
Date:   Tue Jul 7 09:55:41 2020 +1000

    Plugin.SentSound: Report an error when sound doesn't play

 src/client/plugin/sent-sound/sent-sound.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/client/plugin/sent-sound/sent-sound.vala b/src/client/plugin/sent-sound/sent-sound.vala
index cd1c178c2..9090642d5 100644
--- a/src/client/plugin/sent-sound/sent-sound.vala
+++ b/src/client/plugin/sent-sound/sent-sound.vala
@@ -49,6 +49,7 @@ public class Plugin.SentSound : PluginBase, EmailExtension {
             );
         } catch (GLib.Error err) {
             warning("Failed to play sent mail sound: %s", err.message);
+            this.plugin_application.report_problem(err.message);
         }
     }
 


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