Fixed Exceptioneer.

pull/3113/head
kay.one 13 years ago
parent 1ff34c8e38
commit 87cf08a365

@ -23,8 +23,8 @@ namespace NzbDrone.Core.Instrumentation
public static void StartDbLogging()
{
#if RELEASE
#if DEBUG
#else
var exTarget = new ExceptioneerTarget();
LogManager.Configuration.AddTarget("Exceptioneer", exTarget);
LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", NLog.LogLevel.Error, exTarget));

@ -2,6 +2,7 @@
using System.Diagnostics;
using System.Runtime.Remoting;
using System.Timers;
using Exceptioneer.WindowsFormsClient;
using NLog;
using Ninject;
@ -106,7 +107,8 @@ namespace NzbDrone.Providers
Console.WriteLine("EPIC FAIL: {0}", excepion);
Logger.Fatal("EPIC FAIL: {0}", excepion);
#if RELEASE
#if DEBUG
#else
new Client
{
ApiKey = "43BBF60A-EB2A-4C1C-B09E-422ADF637265",

Loading…
Cancel
Save