Skip to content

Commit

Permalink
Set log level to warn when topic policy reader occurs AlreadyClosed…
Browse files Browse the repository at this point in the history
…Exception. (apache#17841)
  • Loading branch information
Technoboy- authored Sep 26, 2022
1 parent 7f96547 commit e092064
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ private void readMorePolicies(SystemTopicClient.Reader<PulsarEvent> reader) {
} else {
Throwable cause = FutureUtil.unwrapCompletionException(ex);
if (cause instanceof PulsarClientException.AlreadyClosedException) {
log.error("Read more topic policies exception, close the read now!", ex);
log.warn("Read more topic policies exception, close the read now!", ex);
cleanCacheAndCloseReader(
reader.getSystemTopic().getTopicName().getNamespaceObject(), false);
} else {
Expand Down

0 comments on commit e092064

Please sign in to comment.