Open
Bug 1382346
Opened 7 years ago
Updated 2 years ago
Allow original error message to bubble up in telemetry harness
Categories
(Toolkit :: Telemetry, enhancement, P4)
Toolkit
Telemetry
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox57 | --- | unaffected |
People
(Reporter: Silne30, Unassigned)
Details
Attachments
(1 file)
The harness is swallowing the original error message in testcase.py.
Updated•7 years ago
|
Priority: -- → P3
Reporter | ||
Updated•7 years ago
|
Assignee: nobody → jdorlus
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Reporter | ||
Updated•7 years ago
|
Attachment #8890574 -
Flags: review?(mjzffr)
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8890574 [details] Bug 1382346 - Raised original exception when ping fails to come in https://reviewboard.mozilla.org/r/161722/#review167930 r+wc ::: toolkit/components/telemetry/tests/marionette/harness/telemetry_harness/testcase.py:56 (Diff revision 1) > try: > Wait(self.marionette, 60).until(lambda t: len(self.ping_list) > 0) > except Exception as e: > - self.fail('Error generating ping: {}'.format(e.message)) > + raise e Remove the try-except block entirely. Instead, call `until` with a `message` kwarg that describes what the exception likely represents: e.g. `Wait(...).until(..., message="Error generating ping: ...")`
Attachment #8890574 -
Flags: review?(mjzffr) → review+
Comment hidden (mozreview-request) |
Updated•7 years ago
|
status-firefox57:
--- → unaffected
Priority: P3 → P4
Updated•7 years ago
|
Assignee: jsdorlus → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•