mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-12 04:22:35 +02:00
fixup Sonarr stylecop issues
This commit is contained in:
parent
88879e0db6
commit
d10e60587b
@ -1,4 +1,4 @@
|
||||
using FluentAssertions;
|
||||
using FluentAssertions;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Common.Instrumentation;
|
||||
|
||||
@ -50,6 +50,7 @@ public class CleanseLogMessageFixture
|
||||
[TestCase(@"method: ""getTorrents"", ""params"": [ ""mySecret"",")]
|
||||
[TestCase(@"getTorrents(""mySecret"", [asdfasdf], 100, 0)")]
|
||||
[TestCase(@"""DownloadURL"":""https:\/\/broadcasthe.net\/torrents.php?action=download&id=123&authkey=mySecret&torrent_pass=mySecret""")]
|
||||
|
||||
// Plex
|
||||
[TestCase(@" http://localhost:32400/library/metadata/12345/refresh?X-Plex-Client-Identifier=1234530f-422f-4aac-b6b3-01233210aaaa&X-Plex-Product=Sonarr&X-Plex-Platform=Windows&X-Plex-Platform-Version=7&X-Plex-Device-Name=Sonarr&X-Plex-Version=3.0.3.833&X-Plex-Token=mySecret")]
|
||||
public void should_clean_message(string message)
|
||||
|
@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Threading;
|
||||
using RestSharp;
|
||||
|
||||
@ -34,6 +34,7 @@ public string[] GetLogFileLines(string filename)
|
||||
_logger.Error(ex, "Failed to get log lines");
|
||||
throw;
|
||||
}
|
||||
|
||||
_logger.Info(ex, "Failed to get log lines, attempt {0}/{1}", attempt, attempts);
|
||||
Thread.Sleep(10);
|
||||
attempt++;
|
||||
|
Loading…
Reference in New Issue
Block a user