Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoli Kalbasin <qwnize@outlook.com>
  • Loading branch information
callbacksin committed Sep 3, 2024
1 parent cb89341 commit 006eb92
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ fun performTsoCommand(
command: String,
) {
listener.logger.println(Messages.zdevops_issue_TSO_command(command))
runCatching {
try {
val tsoCommandResponse = IssueTso(zosConnection).issueTsoCommand(acct, command, StartTsoParams(), failOnPrompt = true)
listener.logger.println(tsoCommandResponse.commandResponses)
}.onFailure {
listener.logger.println(it)
throw AbortException(Messages.zdevops_TSO_command_fail())
} catch (ex: Exception) {
listener.logger.println(Messages.zdevops_TSO_command_fail())
throw ex
}
listener.logger.println(Messages.zdevops_TSO_command_success())
}

0 comments on commit 006eb92

Please sign in to comment.