private Problem IdentifyProblem(Crash crash)
        {
            var errorHash = GetErrorHash(crash);

            var problem = _problemRepository.GetByErrorHash(errorHash);

            if (problem != null)
            {
                return(problem);
            }

            problem = new Problem
            {
                UniqueDescription = errorHash,
                Application       = crash.Application,
                Description       = crash.StackTrace,
                ShortDescription  = crash.StackTrace.Substring(0, Math.Min(255, crash.StackTrace.Length)),
                Status            = EProblemStatus.New
            };

            return(problem);
        }