This commit is contained in:
boccioli_m
2017-05-16 11:44:07 +02:00
parent e77d7fc626
commit ee7698ccdc
41 changed files with 101 additions and 93 deletions

View File

@@ -151,11 +151,13 @@ def startTest(testName, DEVICE, params):
test.sendFeedback(ret, success)
except (KeyboardInterrupt):
# user stop error handler.
import traceback
ret = 'Test stopped by user.'
success = False
test.sendFeedback(ret, success)
except:
# generic error handler.
import traceback
ret = traceback.format_exc()
success = False
test.sendFeedback(ret, success)