Added error message when logging configuration not exists

This commit is contained in:
2022-09-17 11:39:19 +02:00
parent 8dcc5b4011
commit 139422fd32
2 changed files with 11 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ class ServiceProvider(ServiceProviderABC):
self._scope = scope
def create_scope(self) -> ScopeABC:
sb = ScopeBuilder(ServiceProvider(copy.deepcopy(self._service_descriptors), self._configuration, self._database_context))
sb = ScopeBuilder(ServiceProvider(self._service_descriptors, self._configuration, self._database_context))
return sb.build()
def get_service(self, service_type: type) -> Optional[object]: