Commit 8ea3ac0
fix: catch ExecutionException for op.getName (#1729)
Following exception is thrown:
java.util.concurrent.ExecutionException: com.google.api.gax.rpc.FailedPreconditionException: io.grpc.StatusRuntimeException: FAILED_PRECONDITION.
So, changing the catch to catch ExecutionException as well.
Catch both SpannerException and ExecutionException.
Co-authored-by: Knut Olav Løite <[email protected]>1 parent bc734ce commit 8ea3ac0
File tree
1 file changed
+1
-1
lines changed- google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/slow
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
| 470 | + | |
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
| |||
0 commit comments