mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-01-17 10:45:49 +02:00
Enabled excepton with new api key, disabled throwing exception.
This commit is contained in:
parent
acc25d7558
commit
10b1d44d6f
@ -161,7 +161,7 @@ public ExceptionResponse SubmitException(ExceptionData exceptionData)
|
||||
|
||||
if (Configuration.ThrowExceptions)
|
||||
{
|
||||
throw;
|
||||
//throw;
|
||||
}
|
||||
|
||||
return new ExceptionResponse { Exception = e };
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user