Open Bug 1654559 Opened 4 years ago Updated 4 years ago

Consider logging warnings in MOZ_TRY/MOZ_TRY_VAR

Categories

(Core :: MFBT, enhancement)

enhancement

Tracking

()

People

(Reporter: janv, Unassigned)

References

Details

We are introducing QM_TRY/QM_TRY_VAR in bug 1651016 which is similar to MOZ_TRY/MOZ_TRY_VAR. These new macros enable to do more stuff when an error occurs (like logging and reporting to telemetry).

:sg raised a question if MOZ_TRY/MOZ_TRY_VAR should also warn when an error occurs.

You need to log in before you can comment on or make changes to this bug.