Skip to content

Commit 5aef532

Browse files
jorgeepditommaso
andauthored
Add Warning when Cloudinfo fails in Google Batch machine type selection (#5649) [ci fast]
Signed-off-by: jorgee <jorge.ejarque@seqera.io> Signed-off-by: Jorge Ejarque <jorgee@users.noreply.github.com> Co-authored-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
1 parent f81da8c commit 5aef532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/nf-google/src/main/nextflow/cloud/google/batch/GoogleBatchTaskHandler.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ class GoogleBatchTaskHandler extends TaskHandler implements FusionAwareTask {
606606
}
607607
}
608608
catch (Exception e) {
609-
log.debug "[GOOGLE BATCH] Cannot select machine type using Seqera Cloudinfo for task: `${task.lazyName()}` - ${e.message}"
609+
log.warn "Cannot determine the machine type to be used for task: `${task.lazyName()}` - If this problem persists disable disable the Cloudinfo service by setting the variable NXF_CLOUDINFO_ENABLED=false in your environment", e
610610
}
611611

612612
// Check if a specific machine type was provided by the user

0 commit comments

Comments
 (0)