(e loggedRequest)
| 168 | } |
| 169 | |
| 170 | func problemGroups(e loggedRequest) []problemGroup { |
| 171 | var groups []problemGroup |
| 172 | if len(e.SchemaProblems) > 0 { |
| 173 | groups = append(groups, problemGroup{"the response doesn't match GitHub's schema", e.SchemaProblems}) |
| 174 | } |
| 175 | if len(e.QueryProblems) > 0 { |
| 176 | groups = append(groups, problemGroup{"gh's query doesn't match GitHub's schema, so GitHub would answer with an error", e.QueryProblems}) |
| 177 | } |
| 178 | return groups |
| 179 | } |
| 180 | |
| 181 | // indentProblems lists problems one per line. With a limit above zero, it |
| 182 | // shows at most that many and points to the log for the rest. |
no outgoing calls
no test coverage detected