user stop handling
messages logged in Data log amound of messages reduced
This commit is contained in:
Binary file not shown.
@@ -125,6 +125,11 @@ def startTest(testName, DEVICE, params):
|
||||
|
||||
#just in case the feedback was forgotten
|
||||
test.sendFeedback(ret, success)
|
||||
except (KeyboardInterrupt):
|
||||
#user stop error handler
|
||||
ret = 'Test stopped by user.'
|
||||
success = False
|
||||
test.sendFeedback(ret, success)
|
||||
except:
|
||||
#generic error handler
|
||||
ret = traceback.format_exc()
|
||||
|
||||
@@ -100,6 +100,11 @@ def startTest(testName, DEVICE, params):
|
||||
|
||||
#just in case the feedback was forgotten
|
||||
test.sendFeedback(ret, success)
|
||||
except (KeyboardInterrupt):
|
||||
#user stop error handler
|
||||
ret = 'Test stopped by user.'
|
||||
success = False
|
||||
test.sendFeedback(ret, success)
|
||||
except:
|
||||
#generic error handler
|
||||
ret = traceback.format_exc()
|
||||
|
||||
@@ -95,6 +95,11 @@ def startTest(testName, DEVICE, params):
|
||||
|
||||
#just in case the feedback was forgotten
|
||||
test.sendFeedback(ret, success)
|
||||
except (KeyboardInterrupt):
|
||||
#user stop error handler
|
||||
ret = 'Test stopped by user.'
|
||||
success = False
|
||||
test.sendFeedback(ret, success)
|
||||
except:
|
||||
#generic error handler
|
||||
ret = traceback.format_exc()
|
||||
|
||||
@@ -136,6 +136,11 @@ def startTest(testName, DEVICE, params):
|
||||
|
||||
#just in case the feedback was forgotten
|
||||
test.sendFeedback(ret, success)
|
||||
except (KeyboardInterrupt):
|
||||
#user stop error handler
|
||||
ret = 'Test stopped by user.'
|
||||
success = False
|
||||
test.sendFeedback(ret, success)
|
||||
except:
|
||||
#generic error handler
|
||||
ret = traceback.format_exc()
|
||||
|
||||
Reference in New Issue
Block a user