Ejemplo n.º 1
0
        public void OnExceptionThrownEvent(ExceptionThrownEvent exceptionThrownEvent)
        {
            var customException = new CustomException()
            {
                ExceptionType = exceptionThrownEvent.ExceptionType.ToString(),
                Message       = exceptionThrownEvent.Message,
                StackTrace    = exceptionThrownEvent.StackTrace
            };

            _repo.Insert(customException);
        }