diff --git a/plugins/nf-amazon/src/main/nextflow/cloud/aws/batch/AwsBatchTaskHandler.groovy b/plugins/nf-amazon/src/main/nextflow/cloud/aws/batch/AwsBatchTaskHandler.groovy index 3aff103736..a17361ed4e 100644 --- a/plugins/nf-amazon/src/main/nextflow/cloud/aws/batch/AwsBatchTaskHandler.groovy +++ b/plugins/nf-amazon/src/main/nextflow/cloud/aws/batch/AwsBatchTaskHandler.groovy @@ -284,6 +284,38 @@ class AwsBatchTaskHandler extends TaskHandler implements BatchHandler 1 ) { + log.info "[AWS BATCH] Process `${task.lazyName()}` completed after ${attemptCount} attempts (job=${jobId})" + } // take the exit code of the container, if 0 (successful) or missing // take the exit code from the `.exitcode` file create by nextflow // the rationale of this is that, in case of error, the exit code return @@ -310,7 +347,11 @@ class AwsBatchTaskHandler extends TaskHandler implements BatchHandler