Closed Bug 1713825 Opened 3 years ago Closed 3 years ago

Update invalid "exception.message" usages

Categories

(Firefox Build System :: Mach Core, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mhentges, Unassigned)

References

Details

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.

Thanks to Ahal for pointing out that we have a lot of code that still attempts to use exception.message.

See Also: → mach-py3
Depends on: 1714376

vendored 3rd party code:

Priority: -- → P3

The remaining usages are all in 3rd-party code. Thanks Andrey!

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.