nf-hack18
nf-hack18 copied to clipboard
How to handle errors (e.g. component, pipeline and network error) and send error message automatically by email
A way to get it is using onError
workflow.onError {
println "Oops... Pipeline execution stopped with the following message: ${workflow.errorMessage}"
}