Updated to log exception information when a timeout occurs
This commit is contained in:
Родитель
6a476dc63c
Коммит
fa0390315a
|
@ -53,7 +53,7 @@ def prepare_package(err, path, timeout=None):
|
||||||
# sequential validators, like in the test suite.
|
# sequential validators, like in the test suite.
|
||||||
return err
|
return err
|
||||||
ex = ValidationTimeout(timeout)
|
ex = ValidationTimeout(timeout)
|
||||||
log.error("%s; Package: %s" % (str(ex), path))
|
log.error("%s; Package: %s" % (str(ex), path), exc_info=True)
|
||||||
raise ex
|
raise ex
|
||||||
|
|
||||||
with open(path, "rb") as package:
|
with open(path, "rb") as package:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче