2020-03-02 21:04:27 +01:00
|
|
|
// 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) {
|
2020-07-08 22:05:12 +02:00
|
|
|
params.catchInterruptions = false
|
|
|
|
return catchError(params, closure)
|
2020-03-02 21:04:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
return this
|