Exceptions are now being stored in mongo.

pull/4/head
kay.one 13 years ago
parent e0470e12ca
commit 19d45a5dc3

@ -69,11 +69,11 @@ namespace NzbDrone.Services.Service.Controllers
var report = new Exceptions.ExceptionReport();
report.AppVersion = exceptionReport.Version;
report.ApplicationId = "NzbDrone";
report.ExceptionMessage = exceptionReport.String;
report.ExceptionMessage = exceptionReport.ExceptionMessage;
report.ExceptionType = exceptionReport.Type;
report.Location = exceptionReport.Logger;
report.Message = exceptionReport.LogMessage;
report.Stack = exceptionReport.String;
report.Stack = exceptionReport.Stack;
report.Uid = exceptionReport.UGuid.ToString();
var exceptionHash = _exceptionRepository.Store(report);

@ -47,9 +47,6 @@
<Reference Include="Elmah">
<HintPath>..\..\packages\elmah.corelibrary.1.2.1\lib\Elmah.dll</HintPath>
</Reference>
<Reference Include="Exceptrack.Core">
<HintPath>..\..\Libraries\Exceptrack\Exceptrack.Core.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>

Loading…
Cancel
Save