1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-02-24 16:02:39 +03:00
Octobot/TeamOctolings.Octobot
Octol1ttle e457b4609e
Don't log stack traces for cancelled operations (#327)
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
2024-07-31 23:57:21 +05:00
..
Attributes Apply official naming guidelines to Octobot (#306) 2024-05-16 20:34:26 +05:00
Commands Show an error when entering the same value from the settings (#326) 2024-07-31 14:13:29 +05:00
Data Show an error when entering the same value from the settings (#326) 2024-07-31 14:13:29 +05:00
Extensions Don't log stack traces for cancelled operations (#327) 2024-07-31 23:57:21 +05:00
Parsers Apply official naming guidelines to Octobot (#306) 2024-05-16 20:34:26 +05:00
Responders Always default cancellation tokens (#319) 2024-06-25 15:09:45 +05:00
Services Redesign reminder-related commands (#321) 2024-07-03 17:12:32 +00:00
BuildInfo.cs Apply official naming guidelines to Octobot (#306) 2024-05-16 20:34:26 +05:00
ColorsList.cs Apply official naming guidelines to Octobot (#306) 2024-05-16 20:34:26 +05:00
Messages.Designer.cs Show an error when entering the same value from the settings (#326) 2024-07-31 14:13:29 +05:00
Messages.resx Show an error when entering the same value from the settings (#326) 2024-07-31 14:13:29 +05:00
Messages.ru.resx Show an error when entering the same value from the settings (#326) 2024-07-31 14:13:29 +05:00
Program.cs Apply official naming guidelines to Octobot (#306) 2024-05-16 20:34:26 +05:00
TeamOctolings.Octobot.csproj Upgrade NuGet dependencies (#313) 2024-05-30 15:32:27 +05:00
Utility.cs Always default cancellation tokens (#319) 2024-06-25 15:09:45 +05:00