Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
srinjoyray committed Oct 8, 2024
2 parents 74d4f82 + e2292f1 commit b9acb30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ public final class DataTypeTranslator {

static {
Type<?>[] meaningIntToType = new Type<?>[Meaning.Meaning_MAX.getValue()];
Meaning.
Set<Type<?>> typesWithoutMeaning = new HashSet<>();
for (Type<?> type : TYPE_MAP.values()) {
int meaningInt = type.getV3Meaning().getNumber();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ protected byte[] runSyncCall(LazyApiProxyEnvironment environment, String package
throw new RPCFailedException(packageName, methodName);
}
if (remoteResponse.hasRpcError() || remoteResponse.hasApplicationError()) {
throw convertRemoteError(remoteResponse, packageName, methodName, logger);
throw convertRemoteError(remoteResponse.build(), packageName, methodName, logger);
}
return remoteResponse.getResponse().toByteArray();
}
Expand Down
2 changes: 1 addition & 1 deletion api_legacy/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<?xml version="1.0" encoding="utf-8"?>-->
<!--
Copyright 2021 Google LLC
Expand Down

0 comments on commit b9acb30

Please sign in to comment.