mirror of https://github.com/lidarr/Lidarr
trying to stop team city from sending exeptioneer reports.
This commit is contained in:
parent
287cb03517
commit
97ed59920b
|
@ -81,9 +81,9 @@ namespace NzbDrone.Core.Test.Framework
|
|||
|
||||
private static void Excpected(LogLevel level, int count)
|
||||
{
|
||||
var _inconclusiveLogs = _logs.Where(l => _inconclusive.Any(c => c.IsAssignableFrom(l.Exception.GetType()))).ToList();
|
||||
var inconclusiveLogs = _logs.Where(l => _inconclusive.Any(c => c == l.Exception.GetType())).ToList();
|
||||
|
||||
var levelLogs = _logs.Except(_inconclusiveLogs).Where(l => l.Level == level).ToList();
|
||||
var levelLogs = _logs.Except(inconclusiveLogs).Where(l => l.Level == level).ToList();
|
||||
|
||||
if (levelLogs.Count != count)
|
||||
{
|
||||
|
@ -98,9 +98,9 @@ namespace NzbDrone.Core.Test.Framework
|
|||
Assert.Fail(message);
|
||||
}
|
||||
|
||||
if (_inconclusiveLogs.Count != 0)
|
||||
if (inconclusiveLogs.Count != 0)
|
||||
{
|
||||
Assert.Inconclusive(GetLogsString(_inconclusiveLogs));
|
||||
Assert.Inconclusive(GetLogsString(inconclusiveLogs));
|
||||
}
|
||||
|
||||
levelLogs.ForEach(c => _logs.Remove(c));
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace NzbDrone.Core.Instrumentation
|
|||
{
|
||||
if (!Debugger.IsAttached)
|
||||
{
|
||||
Logger.Trace("Sending Exception to Exceptioneer");
|
||||
Logger.Trace("Sending Exception to Exceptioneer. {0}", Process.GetCurrentProcess().ProcessName);
|
||||
|
||||
new Client
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue