Fix typos and improve log messages

(cherry picked from commit 37c4647f242c37f22c7ac455d304055441acf362)

Closes #10277
This commit is contained in:
Mark McDowall 2024-08-10 20:52:53 -07:00 committed by Bogdan
parent edec201a6c
commit fbbe7f7b5d
2 changed files with 2 additions and 2 deletions

View file

@ -201,7 +201,7 @@ public override IEnumerable<DownloadClientItem> GetItems()
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;

View file

@ -51,7 +51,7 @@ public virtual Mock<T> GetMock<T>(MockBehavior behavior)
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;