internal static void LogExceptionDetails(ILog log, ImapCommand failingCommand, Exception failure) { Exception ex = failure; while (ex.InnerException != null) { ex = ex.InnerException; } log.Error("While executing [{0}]: {1}", new object[] { failingCommand.ToPiiCleanString(), ex.Message }); string stackTrace = ex.StackTrace; if (stackTrace != null && stackTrace.Length > 0) { log.Error("Stack [{0}]", new object[] { stackTrace }); } }
// Token: 0x06000150 RID: 336 RVA: 0x00008096 File Offset: 0x00006296 private void LogFailureDetails(ImapCommand command, ImapResponse response) { this.LogFailureDetails(command.ToPiiCleanString(), response); }