【fix sonar】OnlineInterceptor文件

This commit is contained in:
梁琦涛
2023-03-13 14:49:26 +08:00
parent 5c47abe62e
commit 7297dbb79e
@@ -114,8 +114,8 @@ public class OnlineInterceptor implements HandlerInterceptor {
Result<T> result = Result.error("无权限访问(操作)");
printWriter.print(JSON.toJSON(result));
}
} catch (IOException iOException) {
log.error(iOException.getMessage());
} catch (IOException e) {
log.error(e.getMessage());
} finally {
if (printWriter != null) {
printWriter.close();