Skip to content

Commit

Permalink
change: enable result stacktraces in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Octol1ttle committed May 13, 2024
1 parent 3029089 commit 9077e21
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Extensions/ResultExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public static Result FromError<T>(Result<T> result)
return casted;
}

[Conditional("DEBUG")]
private static void LogResultStackTrace(Result result)
{
if (Octobot.StaticLogger is null || result.IsSuccess)
Expand Down

0 comments on commit 9077e21

Please sign in to comment.