Closed Bug 1500062 Opened 10 months ago Closed 10 months ago

[remote-dbg-next] Add middleware to log failed async actions to the console

Categories

(DevTools :: about:debugging, enhancement, P1)

enhancement

Tracking

(firefox65 fixed)

RESOLVED FIXED
Firefox 65
Tracking Status
firefox65 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

Attachments

(1 file, 1 obsolete file)

We have consistently used actions split asynchronous actions in three states:
- ACTION_START
- ACTION_SUCCESS
- ACTION_FAILURE

However right now we don't do react to the FAILURE of any action. We could add a middleware that would log the failure to the console.
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Priority: -- → P1
Attachment #9018234 - Attachment is obsolete: true
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3a7ba1fe0277
Add error logging middleware to new aboutdebugging;r=ladybenko,daisuke
https://hg.mozilla.org/mozilla-central/rev/3a7ba1fe0277
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in before you can comment on or make changes to this bug.