提交 2d0ac7f7 authored 作者: noelgrandin's avatar noelgrandin

The "e" exception parameter was unused.

Converted it to log the exception at debug level, since that is what the comment indicates.
上级 e7963bf6
...@@ -426,6 +426,7 @@ public class SessionRemote extends SessionWithState implements DataHandler { ...@@ -426,6 +426,7 @@ public class SessionRemote extends SessionWithState implements DataHandler {
* @param count the retry count index * @param count the retry count index
*/ */
public void removeServer(IOException e, int i, int count) { public void removeServer(IOException e, int i, int count) {
trace.debug(e, "removing server because of exception");
transferList.remove(i); transferList.remove(i);
if (transferList.size() == 0 && autoReconnect(count)) { if (transferList.size() == 0 && autoReconnect(count)) {
return; return;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论