File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
plugins/nf-google/src/main/nextflow/cloud/google/batch/client Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import java.util.concurrent.TimeoutException
21
21
import java.util.function.Predicate
22
22
23
23
import com.google.api.gax.core.CredentialsProvider
24
+ import com.google.api.gax.rpc.DeadlineExceededException
24
25
import com.google.api.gax.rpc.FixedHeaderProvider
25
26
import com.google.api.gax.rpc.NotFoundException
26
27
import com.google.api.gax.rpc.UnavailableException
@@ -180,6 +181,8 @@ class BatchClient {
180
181
boolean test (Throwable t ) {
181
182
if ( t instanceof UnavailableException )
182
183
return true
184
+ if ( t instanceof DeadlineExceededException )
185
+ return true
183
186
if ( t instanceof IOException || t. cause instanceof IOException )
184
187
return true
185
188
if ( t instanceof TimeoutException || t. cause instanceof TimeoutException )
You can’t perform that action at this time.
0 commit comments