Fix typos and improve log messages

(cherry picked from commit 37c4647f242c37f22c7ac455d304055441acf362)

Closes #10277
pull/10296/head
Mark McDowall 3 months ago committed by Bogdan
parent edec201a6c
commit fbbe7f7b5d

@ -201,7 +201,7 @@ namespace NzbDrone.Core.Download.Clients.Deluge
if (ignoredCount > 0) if (ignoredCount > 0)
{ {
_logger.Warn("{0} torrent(s) were ignored becuase they did not have a title, check Deluge and remove any invalid torrents"); _logger.Warn("{0} torrent(s) were ignored because they did not have a title. Check Deluge and remove any invalid torrents");
} }
return items; return items;

@ -51,7 +51,7 @@ namespace NzbDrone.Test.Common.AutoMoq
if (behavior != MockBehavior.Default && mock.Behavior == MockBehavior.Default) if (behavior != MockBehavior.Default && mock.Behavior == MockBehavior.Default)
{ {
throw new InvalidOperationException("Unable to change be behaviour of a an existing mock."); throw new InvalidOperationException("Unable to change be behaviour of an existing mock.");
} }
return mock; return mock;

Loading…
Cancel
Save