优化日志打印的方式

This commit is contained in:
jishenghua
2024-05-28 00:49:48 +08:00
parent 880c93899c
commit d3f0ff3777
34 changed files with 128 additions and 258 deletions

View File

@@ -62,7 +62,7 @@ public class RoleController {
}
}
} catch (Exception e) {
e.printStackTrace();
logger.error(e.getMessage(), e);
}
return arr;
}