mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-08 16:57:09 +08:00
refactor: 解决 Sonar 问题,替换部分过期 API
This commit is contained in:
@@ -67,7 +67,6 @@ public class AsyncAutoConfiguration implements AsyncConfigurer {
|
||||
@Override
|
||||
public AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler() {
|
||||
return (throwable, method, objects) -> {
|
||||
throwable.printStackTrace();
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("Exception message: ")
|
||||
.append(throwable.getMessage())
|
||||
|
Reference in New Issue
Block a user