Merge pull request #3042 from gberaudo/example_name_in_check_examples_exception
Print example name in check-examples exception
This commit is contained in:
4
build.py
4
build.py
@@ -32,7 +32,11 @@ class ThreadPool:
|
|||||||
try:
|
try:
|
||||||
function(*args, **kargs)
|
function(*args, **kargs)
|
||||||
except:
|
except:
|
||||||
|
print("ERROR")
|
||||||
|
for count, thing in enumerate(args):
|
||||||
|
print '{0}. {1}'.format(count, thing)
|
||||||
print(sys.exc_info()[0])
|
print(sys.exc_info()[0])
|
||||||
|
print("ERROR")
|
||||||
self.tasks.errors = True
|
self.tasks.errors = True
|
||||||
self.tasks.task_done()
|
self.tasks.task_done()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user