Add warning when failing to import dependencies

pull/181/head
Louis LCE 2018-01-24 15:21:08 +01:00
parent 2b1546ab43
commit 7b6276fbf8
1 changed files with 2 additions and 0 deletions

View File

@ -43,11 +43,13 @@ if six.PY2:
try: try:
from dateutil.parser import parse from dateutil.parser import parse
except ImportError: except ImportError:
logger.exception("Cannot import dateutil")
pass pass
try: try:
import jsonschema import jsonschema
except ImportError: except ImportError:
logger.exception("Cannot import jsonschema")
pass pass
try: try: