diff --git a/src/modules/launcher/Wox.Infrastructure/Logger/Log.cs b/src/modules/launcher/Wox.Infrastructure/Logger/Log.cs index 349920076c..611265baa4 100644 --- a/src/modules/launcher/Wox.Infrastructure/Logger/Log.cs +++ b/src/modules/launcher/Wox.Infrastructure/Logger/Log.cs @@ -126,9 +126,6 @@ namespace Wox.Infrastructure.Logger [MethodImpl(MethodImplOptions.Synchronized)] public static void Exception(string message, System.Exception e) { -#if DEBUG - throw e; -#else if (FormatValid(message)) { var parts = message.Split('|'); @@ -140,7 +137,6 @@ namespace Wox.Infrastructure.Logger { LogFaultyFormat(message); } -#endif } /// example: "|prefix|unprefixed"