Small Logging Improvement (#3389)
This commit is contained in:
parent
17a5d0d583
commit
349645bf32
4 changed files with 26 additions and 31 deletions
|
|
@ -291,6 +291,7 @@ public class ReaderService : IReaderService
|
|||
_unitOfWork.AppUserProgressRepository.Update(userProgress);
|
||||
}
|
||||
|
||||
_logger.LogDebug("Saving Progress on Chapter {ChapterId} from Series {SeriesId} to {PageNum}", progressDto.ChapterId, progressDto.SeriesId, progressDto.PageNum);
|
||||
userProgress?.MarkModified();
|
||||
|
||||
if (!_unitOfWork.HasChanges() || await _unitOfWork.CommitAsync())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue