Permalink
Browse files

Better error message when CmdSubSystem is not found

  • Loading branch information...
1 parent e384ca1 commit f07d964a2284b872dc3c5861a76902edf5d41e2c @samuell samuell committed Sep 12, 2013
@@ -332,7 +332,7 @@ public String execRemoteCommand(String command) {
} else {
IRemoteCmdSubSystem cmdss = RemoteCommandHelpers.getCmdSubSystem(hpcHost); // It is here that it breaks!
if (cmdss == null) {
- errMsg = "Could not find CmdSubSystem in RemoteCommandHelpers.getCmdSubSystem(hpcHost)!";
+ errMsg = "Could not find CmdSubSystem in RemoteCommandHelpers.getCmdSubSystem(hpcHost), where hpcHost is " + hpcHost + "!";
log.error(errMsg);
return errMsg;
}

0 comments on commit f07d964

Please sign in to comment.