Island: Change the order of FileRepository decorators

The caching decorator was suppressing debug log messages. Reversing
their order resolves the issue.
This commit is contained in:
Mike Salvatore 2022-07-04 07:14:11 -04:00
parent 18f995919d
commit df8132c86c
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ def _register_repositories(container: DIContainer, data_dir: Path):
def _decorate_file_repository(file_repository: IFileRepository) -> IFileRepository:
return FileRepositoryLockingDecorator(
FileRepositoryCachingDecorator(FileRepositoryLoggingDecorator(file_repository))
FileRepositoryLoggingDecorator(FileRepositoryCachingDecorator(file_repository))
)