nextflow-io / nf-hack18

Nextflow workshop 2018 -- Training pages -> https://nextflow-io.github.io/nf-hack18/
18 stars 7 forks source link

How to handle errors (e.g. component, pipeline and network error) and send error message automatically by email #5

Open RTewolde opened 5 years ago

edgano commented 5 years ago

A way to get it is using onError

workflow.onError {
    println "Oops... Pipeline execution stopped with the following message: ${workflow.errorMessage}"
}