Skip to content

Commit fa232e3

Browse files
committed
address comments
1 parent 0b87138 commit fa232e3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

gateway-ha/src/main/java/io/trino/gateway/ha/resource/GatewayResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public Response activateBackend(@PathParam("name") String name)
8686
this.gatewayBackendManager.activateBackend(name);
8787
}
8888
catch (Exception e) {
89-
log.error(e);
89+
log.error(e, e.getMessage());
9090
return throwError(e);
9191
}
9292
return Response.ok().build();

gateway-ha/src/main/java/io/trino/gateway/ha/router/HaGatewayManager.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ private void updateClusterActivationStatus(String clusterName, boolean newStatus
105105
logActivationStatusChange(clusterName, newStatus, prevStatus);
106106
}
107107
catch (Exception e) {
108-
log.error("Failed to update activation status for cluster %s: %s", clusterName, e.getMessage());
109108
throw e;
110109
}
111110
}

0 commit comments

Comments
 (0)