Skip to content

Commit

Permalink
Remove verbos logs on readExitFile check
Browse files Browse the repository at this point in the history
  • Loading branch information
pditommaso committed Sep 13, 2019
1 parent 5bc323a commit a5a6a1f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Expand Up @@ -228,7 +228,7 @@ class AwsBatchTaskHandler extends TaskHandler implements BatchHandler<String,Job
exitFile.text as Integer
}
catch( Exception e ) {
log.debug "[AWS BATCH] Cannot read exitstatus for task: `$task.name`", e
log.debug "[AWS BATCH] Cannot read exitstatus for task: `$task.name` | ${e.message}"
return Integer.MAX_VALUE
}
}
Expand Down
Expand Up @@ -336,7 +336,7 @@ class K8sTaskHandler extends TaskHandler {
exitFile.text as Integer
}
catch( Exception e ) {
log.debug "[K8s] Cannot read exitstatus for task: `$task.name`", e
log.debug "[K8s] Cannot read exitstatus for task: `$task.name` | ${e.message}"
return Integer.MAX_VALUE
}
}
Expand Down
Expand Up @@ -128,7 +128,7 @@ class TesTaskHandler extends TaskHandler {
exitFile.text as Integer
}
catch( Exception e ) {
log.trace "[TES] Cannot read exitstatus for task: `$task.name`", e
log.trace "[TES] Cannot read exitstatus for task: `$task.name` | ${e.message}"
return Integer.MAX_VALUE
}
}
Expand Down
Expand Up @@ -219,7 +219,7 @@ class GooglePipelinesHelper {
genomicsClient.projects().operations().cancel(operation.getName(), new CancelOperationRequest()).execute()
}
catch( IOException e ) {
log.warn("Invalid server response cancelling operation: $operation", e)
log.warn("Invalid server response cancelling operation: $operation | ${e.message}")
}
}

Expand Down
Expand Up @@ -248,7 +248,7 @@ class GooglePipelinesTaskHandler extends TaskHandler {
exitFile.text as Integer
}
catch (Exception e) {
log.debug "[GPAPI] Cannot read exitstatus for task: `$task.name`", e
log.debug "[GPAPI] Cannot read exitstatus for task: `$task.name` | ${e.message}"
null
}
}
Expand Down

0 comments on commit a5a6a1f

Please sign in to comment.