mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Misc
This commit is contained in:
@@ -87,11 +87,11 @@ namespace Wox.Infrastructure.Logger
|
||||
|
||||
public static void Fatal(System.Exception e)
|
||||
{
|
||||
var type = CallerType();
|
||||
var logger = LogManager.GetLogger(type);
|
||||
#if DEBUG
|
||||
throw e;
|
||||
#else
|
||||
var type = CallerType();
|
||||
var logger = LogManager.GetLogger(type);
|
||||
logger.Fatal(ExceptionFormatter.FormatExcpetion(e));
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user