mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-19 21:44:30 -04:00
Updated exceptron driver
This commit is contained in:
@@ -36,8 +36,8 @@
|
||||
<Reference Include="Exceptioneer.WindowsFormsClient">
|
||||
<HintPath>..\Libraries\Exceptioneer.WindowsFormsClient.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Exceptron.Driver">
|
||||
<HintPath>..\packages\Exceptron.Driver.0.1.0.3\lib\net20\Exceptron.Driver.dll</HintPath>
|
||||
<Reference Include="Exceptron.Driver, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Exceptron.Driver.0.1.0.4\lib\net20\Exceptron.Driver.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.4.5.4\lib\net40\Newtonsoft.Json.dll</HintPath>
|
||||
|
||||
@@ -77,9 +77,10 @@ namespace NzbDrone.Common
|
||||
{
|
||||
throw;
|
||||
}
|
||||
|
||||
//this shouldn't log an exception since it will cause a recursive loop.
|
||||
logger.Info("Unable to report exception. " + e);
|
||||
if (logEvent.LoggerName != logger.Name)//prevents a recursive loop.
|
||||
{
|
||||
logger.WarnException("Unable to report exception. ", e);
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
@@ -91,7 +92,7 @@ namespace NzbDrone.Common
|
||||
ExceptronDriver = new ExceptionClient(
|
||||
"CB230C312E5C4FF38B4FB9644B05E60E",
|
||||
new EnvironmentProvider().Version.ToString(),
|
||||
new Uri("http://api.Exceptron.com/v1aa/"));
|
||||
new Uri("http://api.Exceptron.com/v1a/"));
|
||||
|
||||
ExceptronDriver.ThrowsExceptions = !EnvironmentProvider.IsProduction;
|
||||
ExceptronDriver.Enviroment = EnvironmentProvider.IsProduction ? "Prod" : "Dev";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Exceptron.Driver" version="0.1.0.3" />
|
||||
<package id="Exceptron.Driver" version="0.1.0.4" />
|
||||
<package id="Newtonsoft.Json" version="4.5.4" />
|
||||
<package id="NLog" version="2.0.0.2000" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user