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 6f69363 commit 26bd0eeCopy full SHA for 26bd0ee
core/src/main/java/io/grpc/internal/InternalSubchannel.java
@@ -346,7 +346,7 @@ private void gotoState(final ConnectivityStateInfo newState) {
346
347
if (state.getState() != newState.getState()) {
348
Preconditions.checkState(state.getState() != SHUTDOWN,
349
- "Cannot transition out of SHUTDOWN to " + newState);
+ "Cannot transition out of SHUTDOWN to %s", newState.getState());
350
if (reconnectDisabled && newState.getState() == TRANSIENT_FAILURE) {
351
state = ConnectivityStateInfo.forNonError(IDLE);
352
} else {
0 commit comments