1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 08:51:12 +03:00

Enable result stacktraces in release mode (#305)

Originally I did not enable because "stack traces are expensive to
retrieve", but let's be honest, who cares, this is a Discord bot,
there's no such thing as "good performance"
This commit is contained in:
Octol1ttle 2024-05-13 18:10:41 +05:00 committed by GitHub
parent 2502beb5df
commit 19fadead91
Signed by: GitHub
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,6 @@ public static class ResultExtensions
return casted;
}
[Conditional("DEBUG")]
private static void LogResultStackTrace(Result result)
{
if (Octobot.StaticLogger is null || result.IsSuccess)