We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d301dd1 commit 7eb846aCopy full SHA for 7eb846a
google-cloud-spanner-executor/src/main/java/com/google/cloud/executor/spanner/CloudExecutor.java
@@ -441,8 +441,7 @@ protected Status toStatus(SpannerException e) {
441
return Status.fromCode(Status.INTERNAL.getCode())
442
.withDescription(errorMessage + e.getReason() == null ? "" : ": " + e.getReason());
443
case FAILED_PRECONDITION:
444
- return Status.fromCode(Status.FAILED_PRECONDITION.getCode())
445
- .withDescription(errorMessage);
+ return Status.fromCode(Status.FAILED_PRECONDITION.getCode()).withDescription(errorMessage);
446
case NOT_FOUND:
447
return Status.fromCode(Status.NOT_FOUND.getCode()).withDescription(errorMessage);
448
case DEADLINE_EXCEEDED:
0 commit comments