[geary/mjog/sound-plugin-feedback: 2/3] Plugin.SentSound: Report an error when sound doesn't play
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/mjog/sound-plugin-feedback: 2/3] Plugin.SentSound: Report an error when sound doesn't play
- Date: Sun, 16 Aug 2020 04:47:46 +0000 (UTC)
commit 9f5bea33f095f85e90aa13b73268c27c7077dbca
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 | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/client/plugin/sent-sound/sent-sound.vala b/src/client/plugin/sent-sound/sent-sound.vala
index cd1c178c2..db33964e2 100644
--- a/src/client/plugin/sent-sound/sent-sound.vala
+++ b/src/client/plugin/sent-sound/sent-sound.vala
@@ -49,6 +49,9 @@ 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(
+ new Geary.ProblemReport(err)
+ );
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]