Closed Bug 826671 Opened 12 years ago Closed 12 years ago

TBPL's "Loading failed: <foo>" messages should state what action failed

Categories

(Tree Management Graveyard :: TBPL, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

(Keywords: sheriffing-P1)

Attachments

(1 file)

Periodically, upon loading TBPL we get various "Loading failed: {parsererror,...}" type failures due to infra issues. These come from the |loadTracker.loadFailed(thisStatusResult)| calls when loading the treestatus message, the pushlog json, the hidden builders list or the pending/running builds json. We should include the action in the failure message shown, to simplify working out what resource is corrupt/inaccessible/...
Attached patch Patch v1Splinter Review
Adds URLs to callers of loadFailed that are ajax requests. Note some uses are not, otherwise I would have factored more of this into LoadTracker.js
Attachment #697911 - Flags: review?(jhammel)
Comment on attachment 697911 [details] [diff] [review] Patch v1 Makes me wonder if we call loadTracker.loadFailed without a url, but I'm not going to look through the code. Nice :)
Attachment #697911 - Flags: review?(jhammel) → review+
Not all of them do. Thank you for the quick review :-) https://hg.mozilla.org/webtools/tbpl/rev/d4ad9eb7fece
Depends on: 829149
In production :-)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Webtools → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: