diff --git a/backend/src/main/java/io/dataease/controller/IndexController.java b/backend/src/main/java/io/dataease/controller/IndexController.java index f4672af13c..8313e3c491 100644 --- a/backend/src/main/java/io/dataease/controller/IndexController.java +++ b/backend/src/main/java/io/dataease/controller/IndexController.java @@ -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); } }