mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-02-24 07:52:39 +03:00
This PR fixes an issue where the `LogResultStackTrace` method would log stack traces for results that encountered an error due to a cancelled operation/task. The `LoggerExtensions` class already skipped `TaskCanceledException`s, but didn't skip `OperationCanceledException`s (which is a parent of `TaskCanceledException`). The patch specifically does not affect *inner* results which are canceled. Skipping logging these could hide the true cause of an error which appears important |
||
---|---|---|
.. | ||
Attributes | ||
Commands | ||
Data | ||
Extensions | ||
Parsers | ||
Responders | ||
Services | ||
BuildInfo.cs | ||
ColorsList.cs | ||
Messages.Designer.cs | ||
Messages.resx | ||
Messages.ru.resx | ||
Program.cs | ||
TeamOctolings.Octobot.csproj | ||
Utility.cs |