Closed Bug 1331190 Opened 7 years ago Closed 7 years ago

Log viewer sometimes doesn't load the log

Categories

(Tree Management :: Treeherder, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kats, Assigned: hassan)

References

Details

Attachments

(2 files)

Occasionally I look at the log for a job and the bottom pane (where the log shows up) doesn't seem to load or is just empty. I just saw it on https://treeherder.mozilla.org/logviewer.html#?job_id=69022188&repo=graphics&lineNumber=20881
There's a JS error in the console, see attached.
And it seems intermittent, I just did a shift-reload on the same page again and it loaded fine (no error in the JS console either)
Hassan, could you look at this when you have time?
Flags: needinfo?(helfi92)
I saw this once last night, so it's not just something on kats' machine.
Assignee: nobody → helfi92
Flags: needinfo?(helfi92)
Attachment #8826871 - Flags: review?(wlachance)
Thank you for looking into this :-)
Blocks: 1315808
Priority: -- → P1
Always a pleasure :)
Commit pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/bd56ccab3fb4d96af59394b307bac4502f205ce7
Bug 1331190 - Log viewer sometimes doesn't load the log (#2083)

Occasionally the log viewer doesn't seem to load. The JS error in the
console was `q.lineNumber.split is not a function`. This was happening
because `q.lineNumber` was sometimes interpreted as a number. To fix
that, the use of `toString()` is used before splitting it.
Attachment #8826871 - Flags: review?(wlachance) → review+
I think we can (hopefully) mark this as fixed. Should be on production soon.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Component: Treeherder: Log Viewer → TreeHerder
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: