Skip to content

Commit 378b4d9

Browse files
authored
Add logging for getting stuck in query loop (#5775)
Part of #5277
1 parent 04422ac commit 378b4d9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/github/githubRepository.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ export class GitHubRepository implements vscode.Disposable {
256256
try {
257257
rsp = await gql.query<T>(query);
258258
} catch (e) {
259+
Logger.error(`Error querying GraphQL API: ${e.message}`, GitHubRepository.ID);
259260
if (legacyFallback) {
260261
query.query = legacyFallback.query;
261262
return this.query(query, ignoreSamlErrors);

0 commit comments

Comments
 (0)