mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-28 12:33:59 +03:00
parent
cef6d35cfd
commit
4ecf6cdad2
|
@ -204,7 +204,11 @@ cdef class Provider(object):
|
|||
if self.__last_overriding is not None:
|
||||
result = self.__last_overriding(*args, **kwargs)
|
||||
else:
|
||||
try:
|
||||
result = self._provide(args, kwargs)
|
||||
except Exception as exc:
|
||||
print(self)
|
||||
raise exc
|
||||
|
||||
if self.is_async_mode_disabled():
|
||||
return result
|
||||
|
|
Loading…
Reference in New Issue
Block a user