mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 13:06:31 +00:00
fixed console Log
fix same files problem in python different libs correct command logging in command handler
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System.IO;
|
||||
using Azaion.Common.DTO;
|
||||
using Newtonsoft.Json;
|
||||
using Serilog;
|
||||
|
||||
namespace Azaion.Common;
|
||||
|
||||
@@ -59,7 +60,7 @@ public class SecurityConstants
|
||||
};
|
||||
#endregion ExternalClientsConfig
|
||||
|
||||
public static InitConfig ReadInitConfig()
|
||||
public static InitConfig ReadInitConfig(ILogger logger)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -72,7 +73,7 @@ public class SecurityConstants
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine(e);
|
||||
logger.Error(e, e.Message);
|
||||
return DefaultInitConfig;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user