aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control-pulse.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-12 22:03:56 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-08-28 20:27:35 +0200
commit3c0cde7d6eb27a56d57323631b9dafc83cf1fbe8 (patch)
tree306d83ca1f8a5cf0a88bb9483c5193151886d8e8 /src/volume-control-pulse.vala
parent3746aaacd6983a96dfec7835c9b928e2ab983419 (diff)
downloadayatana-indicator-sound-3c0cde7d6eb27a56d57323631b9dafc83cf1fbe8.tar.gz
ayatana-indicator-sound-3c0cde7d6eb27a56d57323631b9dafc83cf1fbe8.tar.bz2
ayatana-indicator-sound-3c0cde7d6eb27a56d57323631b9dafc83cf1fbe8.zip
Report exact GLib error message when unable to find stream restore data.
Diffstat (limited to 'src/volume-control-pulse.vala')
-rw-r--r--src/volume-control-pulse.vala2
1 files changed, 1 insertions, 1 deletions
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;
}