[gnome-continuous/wip/apptest: 2/5] startstopapps: Show the error message we get back from gnome-shell
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous/wip/apptest: 2/5] startstopapps: Show the error message we get back from gnome-shell
- Date: Wed, 13 Nov 2013 19:54:20 +0000 (UTC)
commit 0b19ae287b18f9be8694fdb353b172ebb3633363
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 f03acfd..d08254c 100644
--- a/src/tests/gnome-continuous-startstopapps
+++ b/src/tests/gnome-continuous-startstopapps
@@ -123,7 +123,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]