提交 98ed70ae authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

refactor: 规范代码

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