提交 385b42d9 编写于 作者: S StephanEwen

Improve error logging on RPC server.

上级 49d97ff4
......@@ -949,10 +949,10 @@ public abstract class Server {
responder.doRespond(call);
} catch (InterruptedException e) {
if (running) { // unexpected -- log it
LOG.info(getName() + " caught: ", e);
LOG.error(getName() + " caught: ", e);
}
} catch (Exception e) {
LOG.info(getName() + " caught: ", e);
LOG.error(getName() + " caught: ", e);
}
}
LOG.debug(getName() + ": exiting");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册