Ejemplo n.º 1
0
 public async Task LogError(string errorMethodName, Exception e)
 {
     try
     {
         string innerExceptionMessage = e.InnerException != null ? e.InnerException.Message : null;
         await logger.LogError(errorMethodName, Common.Enum.Logger.LogTypeEnum.Error.ToString(), e.Message, innerExceptionMessage, e.StackTrace);
     }
     catch (Exception ex)
     {
     }
 }