/// <summary>
        /// Ошибка сети
        /// </summary>
        private void OnNetworkError(string message, byte[] data)
        {
            if (logger == null)
            {
                return;
            }

            string s = message;

            if (data != null)
            {
                s = String.Concat(s, Environment.NewLine, DataFormatter.FormatByteArray(data));
            }

            logger.Write(LogLevel.Warning, s, SberBankLogCategories.Network);
        }