private void Update() { try { var responseObj = _sensorsClient.GetUpdates(); _connectionsStatus = ConnectionsStatus.Ok; _lastUpdate = DateTime.Now; Update(responseObj); } catch (Exception e) { Logger.Error($"ClientMonitoringModel: Update error: {e}"); _connectionsStatus = ConnectionsStatus.Error; foreach (var node in Nodes) { node.Status = TextConstants.UpdateError; } } OnConnectionStatusChangedEvent(); }