1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

Enabled excepton with new api key, disabled throwing exception.

This commit is contained in:
Keivan Beigi 2014-09-30 20:47:30 -07:00
parent acc25d7558
commit 10b1d44d6f
3 changed files with 4 additions and 5 deletions

View File

@ -161,7 +161,7 @@ public ExceptionResponse SubmitException(ExceptionData exceptionData)
if (Configuration.ThrowExceptions)
{
throw;
//throw;
}
return new ExceptionResponse { Exception = e };

View File

@ -26,13 +26,13 @@ protected override void InitializeTarget()
{
var config = new ExceptronConfiguration
{
ApiKey = "57cb75d9eb2d457094d3f67133833eef",
ApiKey = "d64e0a72845d495abc625af3a27cf5f5",
IncludeMachineName = true,
};
if (RuntimeInfoBase.IsProduction)
{
config.ApiKey = "cc4728a35aa9414f9a0baa8eed56bc67";
config.ApiKey = "82c0f66dd2d64d1480cc88b551c9bdd8";
}
ExceptronClient = new ExceptronClient(config, BuildInfo.Version);
@ -86,7 +86,6 @@ protected override void Write(LogEventInfo logEvent)
catch (Exception e)
{
InternalLogger.Warn("Unable to report exception. {0}", e);
throw;
}
}
}

View File

@ -23,7 +23,7 @@ public static void Register(IStartupContext startupContext, bool updateApp, bool
}
//Disabling for now - until its fixed or we yank it out
//RegisterExceptron();
RegisterExceptron();
if (updateApp)
{