1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-26 01:38:24 +00:00

Exceptions are now being stored in mongo.

This commit is contained in:
kay.one 2012-03-29 18:36:49 -07:00
parent e0470e12ca
commit 19d45a5dc3
2 changed files with 2 additions and 5 deletions

View file

@ -69,11 +69,11 @@ public JsonResult ReportNew(ExceptionReport exceptionReport)
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);

View file

@ -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>