mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 09:09:00 +03:00
Octol1ttle
e457b4609e
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 |
||
---|---|---|
.. | ||
ChannelApiExtensions.cs | ||
CollectionExtensions.cs | ||
CommandContextExtensions.cs | ||
DiffPaneModelExtensions.cs | ||
EmbedBuilderExtensions.cs | ||
FeedbackServiceExtensions.cs | ||
GuildScheduledEventExtensions.cs | ||
LoggerExtensions.cs | ||
MarkdownExtensions.cs | ||
ResultExtensions.cs | ||
SnowflakeExtensions.cs | ||
StringBuilderExtensions.cs | ||
StringExtensions.cs | ||
UInt64Extensions.cs | ||
UserExtensions.cs |