Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

Commit

Permalink
Fixed error log creation when set to false
Browse files Browse the repository at this point in the history
  • Loading branch information
KBomba committed Jul 15, 2015
1 parent c552807 commit f8dedd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MinerControl/Utility/ErrorLogger.cs
Expand Up @@ -12,6 +12,8 @@ public static class ErrorLogger

public static void Log(Exception ex)
{
if (!LogExceptions) return;

StringBuilder sb = new StringBuilder();
sb.AppendLine();
sb.AppendLine(DateTime.Now.ToString());
Expand Down

0 comments on commit f8dedd4

Please sign in to comment.