8 lines
295 B
Groovy
8 lines
295 B
Groovy
// Basically, this is a shortcut for catchError(catchInterruptions: false) {}
|
|
// By default, catchError will swallow aborts/timeouts, which we almost never want
|
|
def call(Map params = [:], Closure closure) {
|
|
params.catchInterruptions = false
|
|
return catchError(params, closure)
|
|
}
|
|
|
|
return this
|