Skip to content

Commit 7d4d1ae

Browse files
committed
Add debug output at top of testDocument
Useful for picking out which document is causing a panic.
1 parent 0f590d8 commit 7d4d1ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

htmltest/htmltest.go

+5
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ func (hT *HTMLTest) testDocuments() {
184184
}
185185

186186
func (hT *HTMLTest) testDocument(document *htmldoc.Document) {
187+
hT.issueStore.AddIssue(issues.Issue{
188+
Level: issues.LevelDebug,
189+
Message: "testDocument on " + document.SitePath,
190+
})
191+
187192
document.Parse()
188193

189194
if hT.opts.CheckDoctype {

0 commit comments

Comments
 (0)