From 3c0cde7d6eb27a56d57323631b9dafc83cf1fbe8 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 12 Mar 2018 22:03:56 +0000 Subject: Report exact GLib error message when unable to find stream restore data. --- src/volume-control-pulse.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/volume-control-pulse.vala b/src/volume-control-pulse.vala index de22d81..e524c2e 100644 --- a/src/volume-control-pulse.vala +++ b/src/volume-control-pulse.vala @@ -790,7 +790,7 @@ public class VolumeControlPulse : VolumeControl iter.next ("o", &objp); debug ("Found obj path %s for restore data named %s\n", objp, name); } catch (GLib.Error e) { - warning ("unable to find stream restore data for: %s", name); + warning ("unable to find stream restore data for: %s. Error: %s", name, e.message); } return objp; } -- cgit v1.2.3