Replace a number of "exception.message" usages
Categories
(Firefox Build System :: Mach Core, defect)
Tracking
(firefox91 fixed)
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: hexagonrecursion, Assigned: hexagonrecursion)
References
Details
Attachments
(1 file)
This is a contribution toward fixing https://bugzilla.mozilla.org/show_bug.cgi?id=1713825
In PEP 352, exception.message was deprecated (now, you can get the string from of an exception by simply doing str(exception). As of Python 3.0, exception.message was dropped, and attempting to access it causes an error.
- This patch fixes many instances of exception.message, but there are still some remaining
- ./mach lint --fix made a bunch of formatting changes to code I did not touch
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Pushed by mhentges@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/68f73772f51e Replace a number of "exception.message" usages. r=mhentges,jgraham
Comment 3•3 years ago
|
||
Backed out changeset 68f73772f51e (bug 1714376) for Xpcom failures in builds/worker/checkouts/gecko/xpcom/idl-parser/xpidl/runtests.py. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer?job_id=341678941&repo=autoland&lineNumber=443
Push with failures:
https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&revision=68f73772f51e4a57c0c5ac39648630a9e4604e51
Backout:
https://hg.mozilla.org/integration/autoland/rev/9b4996e620cde5629f86c0539258786462ac8530
Assignee | ||
Comment 4•3 years ago
|
||
I was able to repro locally. Will push a fix soon. BTW can I haz level 1 commit access to push to try? Me being able to run the entire Firefox testsuite w/o making my own workstation unusable would save everyone time.
Comment 6•3 years ago
|
||
Thanks for the fix, though let's do a try
run before landing this.
I'd recommend following this guide to get level 1 access - link me/NI me on the bug and I'll vouch for you 👍
Assignee | ||
Updated•3 years ago
|
Pushed by mhentges@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/167c07857eb9 Replace a number of "exception.message" usages. r=mhentges,jgraham
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/29282 for changes under testing/web-platform/tests
Comment 9•3 years ago
|
||
bugherder |
Upstream PR merged by moz-wptsync-bot
Description
•