public void OnError(IProcessingEntryError update)
        {
            if (update == null)
            {
                return;
            }

            try
            {
                var group = _hub.Clients.Group(SupervisorStreamingConstants.ADAPTER_GROUP);
                if (group != null)
                {
                    group.OnError(update);
                }
            }
            catch (Exception e)
            {
                _logger.Error("Error while sending error update for adapter", e);
            }
        }
        public void OnError(IProcessingEntryError update)
        {
            if (update == null)
                return;

            try
            {
                var group = _hub.Clients.Group(SupervisorStreamingConstants.ADAPTER_GROUP);
                if (group != null)
                    group.OnError(update);
            }
            catch (Exception e)
            {
                _logger.Error("Error while sending error update for adapter", e);
            }
        }