Unverified 提交 8cf7ae32 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw 提交者: GitHub

Merge pull request #1405 from dataease/pr@v1.5@refactor_format_code

refactor: 规范代码
package io.dataease.controller; package io.dataease.controller;
import io.dataease.commons.exception.DEException;
import io.dataease.commons.license.DefaultLicenseService; import io.dataease.commons.license.DefaultLicenseService;
import io.dataease.commons.license.F2CLicenseResponse; import io.dataease.commons.license.F2CLicenseResponse;
import io.dataease.commons.utils.LogUtil;
import io.dataease.commons.utils.ServletUtils; import io.dataease.commons.utils.ServletUtils;
import io.dataease.service.panel.PanelLinkService; import io.dataease.service.panel.PanelLinkService;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
...@@ -52,7 +54,8 @@ public class IndexController { ...@@ -52,7 +54,8 @@ public class IndexController {
try { try {
response.sendRedirect(url); response.sendRedirect(url);
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); LogUtil.error(e.getMessage());
DEException.throwException(e);
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论