refactor: 规范代码

This commit is contained in:
fit2cloud-chenyw 2021-12-07 11:26:58 +08:00
parent 334c4bd8aa
commit 98ed70ae97

View File

@ -1,7 +1,9 @@
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);
}
}