el NPE
This commit is contained in:
parent
c53b4d42cc
commit
1d07519ccb
@ -295,11 +295,6 @@ public class ChargingController {
|
||||
|
||||
ClientHandler handler = ChargingPileServer.getHandler(pileNo);
|
||||
if (handler == null) {
|
||||
try {
|
||||
handler.closeConnection();
|
||||
} catch (Exception e) {
|
||||
log.error("invalid conn [{}]", handler.getName());
|
||||
}
|
||||
return R.fail("充电桩没有连接到上次注册的服务器,请稍后再试一次");
|
||||
}
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user