Skip to content

Commit

Permalink
more log
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolovison committed Jan 3, 2025
1 parent d720d14 commit d08eb9f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/java/io/hyperfoil/tools/qdup/Run.java
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ private boolean queueRunScripts(){
getDispatcher().addScriptContext(scriptContext);
boolean rtrn = shell.isOpen();
timer.start("waiting for start");
stateLogger.info("shell name={} return ok");
stateLogger.info("shell name={} return ok", name);
return rtrn;
} else {
stateLogger.error("run failed to connect "+host.getSafeString()
Expand All @@ -890,7 +890,7 @@ private boolean queueRunScripts(){
", verify password-less ssh works with the selected keys"
)
);
stateLogger.info("shell name={} return error");
stateLogger.info("shell name={} return error", name);
shell.close();
return false;
}
Expand All @@ -914,10 +914,13 @@ private boolean queueRunScripts(){
try{
rtrn = f.get();
} catch (InterruptedException e){
stateLogger.error("InterruptedException", e);
e.printStackTrace();
} catch (Exception e ){
stateLogger.error("Exception", e);
e.printStackTrace();
}
stateLogger.info("rtrn {}", rtrn);
return rtrn;
}).collect(Collectors.reducing(Boolean::logicalAnd)).get();
} catch (InterruptedException e){
Expand Down

0 comments on commit d08eb9f

Please sign in to comment.