diff --git a/NzbDrone.Common/NlogTargets/ExceptioneerTarget.cs b/NzbDrone.Common/NlogTargets/ExceptioneerTarget.cs deleted file mode 100644 index a07be7978..000000000 --- a/NzbDrone.Common/NlogTargets/ExceptioneerTarget.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Linq; -using System; -using System.Diagnostics; -using Exceptioneer.WindowsFormsClient; -using NLog; -using NLog.Targets; - -namespace NzbDrone.Common.NlogTargets -{ - public class ExceptioneerTarget : Target - { - private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); - - private static readonly Version version = new EnvironmentProvider().Version; - - protected override void Write(LogEventInfo logEvent) - { - if (logEvent == null || logEvent.Exception == null || !EnvironmentProvider.IsProduction) return; - - Logger.Trace("Sending Exception to Exceptioneer. Process Name: {0}", Process.GetCurrentProcess().ProcessName); - - logEvent.Exception.Data.Add("Version", version.ToString()); - logEvent.Exception.Data.Add("Message", logEvent.Message); - - - new Client - { - ApiKey = "43BBF60A-EB2A-4C1C-B09E-422ADF637265", - ApplicationName = "NzbDrone", - CurrentException = logEvent.Exception - }.Submit(); - - } - } -} \ No newline at end of file diff --git a/NzbDrone.Common/NzbDrone.Common.csproj b/NzbDrone.Common/NzbDrone.Common.csproj index 9a8e02d72..fab10bee0 100644 --- a/NzbDrone.Common/NzbDrone.Common.csproj +++ b/NzbDrone.Common/NzbDrone.Common.csproj @@ -53,9 +53,6 @@ MinimumRecommendedRules.ruleset - - ..\Libraries\Exceptioneer.WindowsFormsClient.dll - False ..\packages\Exceptron.Client.1.0.7\lib\net20\Exceptron.Client.dll @@ -91,7 +88,6 @@ - diff --git a/NzbDrone.Update/NzbDrone.Update.csproj b/NzbDrone.Update/NzbDrone.Update.csproj index 4d009af65..63a56456c 100644 --- a/NzbDrone.Update/NzbDrone.Update.csproj +++ b/NzbDrone.Update/NzbDrone.Update.csproj @@ -37,7 +37,10 @@ 4 - + + False + ..\packages\Ninject.2.2.1.4\lib\net40-Full\Ninject.dll + ..\packages\NLog.2.0.0.2000\lib\net40\NLog.dll diff --git a/NzbDrone.Update/packages.config b/NzbDrone.Update/packages.config index 4f6876419..1fa06d7c9 100644 --- a/NzbDrone.Update/packages.config +++ b/NzbDrone.Update/packages.config @@ -1,4 +1,5 @@  + \ No newline at end of file diff --git a/NzbDrone/NzbDrone.csproj b/NzbDrone/NzbDrone.csproj index f2dfdfdb7..6018c073d 100644 --- a/NzbDrone/NzbDrone.csproj +++ b/NzbDrone/NzbDrone.csproj @@ -70,7 +70,6 @@ True - ..\packages\Ninject.2.2.1.4\lib\net40-Full\Ninject.dll diff --git a/NzbDrone/Providers/MonitoringProvider.cs b/NzbDrone/Providers/MonitoringProvider.cs index e2b4c297d..a6332840f 100644 --- a/NzbDrone/Providers/MonitoringProvider.cs +++ b/NzbDrone/Providers/MonitoringProvider.cs @@ -3,7 +3,6 @@ using System.Diagnostics; using System.Net; using System.Runtime.Remoting; using System.Threading; -using Exceptioneer.WindowsFormsClient; using NLog; using Ninject; using NzbDrone.Common; @@ -120,16 +119,7 @@ namespace NzbDrone.Providers { Console.WriteLine("EPIC FAIL: {0}", excepion); - if (EnvironmentProvider.IsProduction) - { - new Client - { - ApiKey = "43BBF60A-EB2A-4C1C-B09E-422ADF637265", - ApplicationName = "NzbDrone", - CurrentException = excepion as Exception - }.Submit(); - } - + logger.FatalException("EPIC FAIL: " + excepion.Message, excepion); } }