提交 677df819 authored 作者: Thomas Mueller's avatar Thomas Mueller

Include root cause in exception.

上级 1c2e4fcc
...@@ -374,7 +374,7 @@ public class SessionRemote extends SessionWithState implements DataHandler { ...@@ -374,7 +374,7 @@ public class SessionRemote extends SessionWithState implements DataHandler {
transferList.add(trans); transferList.add(trans);
} catch (IOException e) { } catch (IOException e) {
if (len == 1) { if (len == 1) {
throw DbException.get(ErrorCode.CONNECTION_BROKEN_1, e + ": " + s, e.getMessage()); throw DbException.get(ErrorCode.CONNECTION_BROKEN_1, e, e + ": " + s);
} }
switchOffCluster = true; switchOffCluster = true;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论