未验证 提交 bd3e8b6d 编写于 作者: S Serge Rider 提交者: GitHub

Merge pull request #3498 from AndrewKhitrin/debuglog

Postgres Database Debug log detail
......@@ -44,10 +44,13 @@ public class PostgreDebugController extends DBGBaseController {
{
PostgreDebugSession pgSession = null;
try {
log.debug("Creating debug session");
pgSession = new PostgreDebugSession(monitor,this);
log.debug("Attaching debug session");
pgSession.attach(monitor, configuration);
log.debug("Debug session created");
return pgSession;
} catch (DBException e) {
if (pgSession != null) {
......@@ -60,6 +63,7 @@ public class PostgreDebugController extends DBGBaseController {
if (e instanceof DBGException) {
throw (DBGException)e;
}
log.debug(String.format("Error attaching debug session %s", e.getMessage()));
throw new DBGException("Error attaching debug session", e);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册