提交 a0476d56 编写于 作者: S Serge Rider

Logging monitor fix


Former-commit-id: 4fd74e64
上级 905f6b2a
......@@ -132,6 +132,7 @@ public class PostgreCreateDatabaseDialog extends BaseDialog
@Override
protected IStatus run(DBRProgressMonitor monitor) {
monitor.beginTask("Create database", 1);
try {
PostgreDatabase database = dataSource.getDefaultInstance();
allUsers = supportsRoles ? new ArrayList<>(database.getUsers(monitor)) : null;
......@@ -188,6 +189,8 @@ public class PostgreCreateDatabaseDialog extends BaseDialog
});
} catch (DBException e) {
return GeneralUtils.makeExceptionStatus(e);
} finally {
monitor.done();
}
return Status.OK_STATUS;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册