mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-24 18:43:58 +03:00
parent
4ecf6cdad2
commit
8340d5fd7d
|
@ -6,6 +6,7 @@ import copy
|
||||||
import errno
|
import errno
|
||||||
import functools
|
import functools
|
||||||
import inspect
|
import inspect
|
||||||
|
import logging
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
@ -207,7 +208,7 @@ cdef class Provider(object):
|
||||||
try:
|
try:
|
||||||
result = self._provide(args, kwargs)
|
result = self._provide(args, kwargs)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
print(self)
|
logging.debug(str(self))
|
||||||
raise exc
|
raise exc
|
||||||
|
|
||||||
if self.is_async_mode_disabled():
|
if self.is_async_mode_disabled():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user