Skip to content

Commit

Permalink
Update curator-framework/src/main/java/org/apache/curator/framework/i…
Browse files Browse the repository at this point in the history
…mps/CuratorFrameworkImpl.java

Co-authored-by: tison <wander4096@gmail.com>
  • Loading branch information
kezhuw and tisonkun authored Jan 15, 2025
1 parent c6daf2d commit 952f60e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ private void checkState() {
throw new CuratorClosedException();
default:
String msg = String.format(
"Expected state [%s] was [%s]", CuratorFrameworkState.STARTED, CuratorFrameworkState.STOPPED);
"Expected state [%s] was [%s]", CuratorFrameworkState.STARTED, state);
throw new IllegalStateException(msg);
}
}
Expand Down

0 comments on commit 952f60e

Please sign in to comment.