mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
正确处理InterruptException
Sonar-2142: "InterruptedException" should not be ignored
This commit is contained in:
@@ -196,6 +196,7 @@ public class StandardSessionManager implements WxSessionManager, InternalSession
|
||||
Thread.sleep(StandardSessionManager.this.backgroundProcessorDelay * 1000L);
|
||||
backgroundProcess();
|
||||
} catch (InterruptedException e) {
|
||||
Thread.currentThread().interrupt();
|
||||
StandardSessionManager.this.log.error("SessionManagerImpl.backgroundProcess error", e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user