|
From: <rm...@hy...> - 2007-03-25 03:58:02
|
Author: rmorgan Date: 2007-03-24 19:57:59 -0800 (Sat, 24 Mar 2007) New Revision: 3875 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3875 Modified: trunk/src/org/hyperic/hq/livedata/agent/server/LiveDataCommandsServer.java Log: Include error message on error. Modified: trunk/src/org/hyperic/hq/livedata/agent/server/LiveDataCommandsServer.java =================================================================== --- trunk/src/org/hyperic/hq/livedata/agent/server/LiveDataCommandsServer.java 2007-03-25 02:42:01 UTC (rev 3874) +++ trunk/src/org/hyperic/hq/livedata/agent/server/LiveDataCommandsServer.java 2007-03-25 03:57:59 UTC (rev 3875) @@ -97,7 +97,8 @@ res.setResult(s); return res; } catch (Exception e) { - throw new AgentRemoteException("Unable to invoke command", e); + throw new AgentRemoteException("Unable to invoke command: " + + e.getMessage(), e); } } } |