Exceptions are now being stored in mongo.

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

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

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

Loading…
Cancel
Save