Commit e59e7bae authored by 赵啸非's avatar 赵啸非

修改异常日志打印

parent f6a5ded9
...@@ -152,9 +152,10 @@ public class HikDoorServiceImpl extends AbstractHikService implements IHikDoorSe ...@@ -152,9 +152,10 @@ public class HikDoorServiceImpl extends AbstractHikService implements IHikDoorSe
} }
} catch (Exception e) { } catch (Exception e) {
log.error("获取事件异常", e); log.error("获取事件异常", e.getMessage());
}finally {
logout(hCNetSDK,userID);
} }
logout(hCNetSDK,userID);
return Rest.ok(eventInfoList); return Rest.ok(eventInfoList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment