[gnome-continuous] startstopapps: Show the error message we get back from gnome-shell



commit 413c13643a4c125ae6068b12f84bb57701b96254
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Nov 13 13:24:28 2013 -0500

    startstopapps: Show the error message we get back from gnome-shell
    
    ... when an Eval fails

 src/tests/gnome-continuous-startstopapps |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tests/gnome-continuous-startstopapps b/src/tests/gnome-continuous-startstopapps
index 8c00a37..23ae6bb 100644
--- a/src/tests/gnome-continuous-startstopapps
+++ b/src/tests/gnome-continuous-startstopapps
@@ -121,7 +121,7 @@ const StartStopApps = new GObject.Class({
                                        cancellable).deep_unpack();
        let [success, result] = res;
        if (!success)
-           throw new Error("Failed to eval " + code.substr(0, 20));
+           throw new Error("Failed to eval " + code.substr(0, 20) + ": " + result);
        return result ? JSON.parse(result) : null;
     },
 


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