mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 09:09:00 +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:
parent
2502beb5df
commit
19fadead91
1 changed files with 0 additions and 1 deletions
|
@ -21,7 +21,6 @@ public static class ResultExtensions
|
||||||
return casted;
|
return casted;
|
||||||
}
|
}
|
||||||
|
|
||||||
[Conditional("DEBUG")]
|
|
||||||
private static void LogResultStackTrace(Result result)
|
private static void LogResultStackTrace(Result result)
|
||||||
{
|
{
|
||||||
if (Octobot.StaticLogger is null || result.IsSuccess)
|
if (Octobot.StaticLogger is null || result.IsSuccess)
|
||||||
|
|
Loading…
Reference in a new issue