Closed Bug 1762504 Opened 2 years ago Closed 2 years ago

Update Exception handling to allow native Mojo code and older legacy code to work along side each other

Categories

(bugzilla.mozilla.org :: General, enhancement)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

References

Details

Attachments

(1 file)

Currently if native mojo code, when using legacy libraries mixed in, if ThrowUserError or ThrowCodeError are called you get a unfriendly error page instead of the properly rendered error page.

The changes will allow Throw*Error to use the native reply.exception when dying which we can then override to show a properly rendered error page that is consistent with the rest of BMO.

Attached file GitHub Pull Request
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Regressions: 1766393
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: