Beispiel #1
0
        private void AddException(Exception exception)
        {
            if (exception == null)
            {
                return;
            }

            ExceptionsMessages.Add(exception.Message);

            StackTracers.Add(exception.StackTrace);

            if (exception.InnerException != null)
            {
                AddException(exception.InnerException);
            }
        }