Browse Source

Merge pull request #14437 in DESIGN/design from mss/2.0 to fbp-1.0

* commit '22cdfcf7bac720b9c8361becf8b11999f54298a0':
  REPORT-114392 FR-FBP版本本地设计适配 修复测试连接问题
fbp-1.0
superman 4 months ago
parent
commit
a7e074fd50
  1. 3
      designer-base/src/main/java/com/fr/design/env/HttpWorkspaceConnector.java

3
designer-base/src/main/java/com/fr/design/env/HttpWorkspaceConnector.java vendored

@ -41,9 +41,8 @@ public class HttpWorkspaceConnector implements WorkspaceConnector {
LoginResponseInfoBean bean; LoginResponseInfoBean bean;
try { try {
bean = RemoteAuthorityRepository.getInstance().login(createLoginBean(connectionInfo)); bean = RemoteAuthorityRepository.getInstance().login(createLoginBean(connectionInfo));
} catch (Exception e) { } finally {
client.closePool(); client.closePool();
throw e;
} }
return StringUtils.isNotEmpty(bean.getAccessToken()); return StringUtils.isNotEmpty(bean.getAccessToken());

Loading…
Cancel
Save