提交 e05a445b 编写于 作者: S shtykh_roman

Logging on exception when producing a response.

上级 d7decc84
...@@ -220,6 +220,7 @@ public class AdminBrokerProcessor implements NettyRequestProcessor { ...@@ -220,6 +220,7 @@ public class AdminBrokerProcessor implements NettyRequestProcessor {
response.setRemark(null); response.setRemark(null);
ctx.writeAndFlush(response); ctx.writeAndFlush(response);
} catch (Exception e) { } catch (Exception e) {
log.error("Failed to produce a proper response", e);
} }
TopicConfig topicConfig = new TopicConfig(requestHeader.getTopic()); TopicConfig topicConfig = new TopicConfig(requestHeader.getTopic());
...@@ -231,6 +232,7 @@ public class AdminBrokerProcessor implements NettyRequestProcessor { ...@@ -231,6 +232,7 @@ public class AdminBrokerProcessor implements NettyRequestProcessor {
this.brokerController.getTopicConfigManager().updateTopicConfig(topicConfig); this.brokerController.getTopicConfigManager().updateTopicConfig(topicConfig);
this.brokerController.registerBrokerAll(false, true); this.brokerController.registerBrokerAll(false, true);
return null; return null;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册