Skip to content

Commit 945594d

Browse files
committed
Adjust error response wording
1 parent 876b92a commit 945594d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/ql-vscode/src/databases/code-search-api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ async function provideOctokitWithThrottling(
5353
throttle: {
5454
onRateLimit: (retryAfter: number, options: any): boolean => {
5555
void showAndLogWarningMessage(
56-
`Request quota exhausted for request ${options.method} ${options.url}. Retrying after ${retryAfter} seconds!`,
56+
`Rate Limit detected for request ${options.method} ${options.url}. Retrying after ${retryAfter} seconds!`,
5757
);
5858

5959
return true;
6060
},
6161
onSecondaryRateLimit: (_retryAfter: number, options: any): void => {
6262
void showAndLogWarningMessage(
63-
`SecondaryRateLimit detected for request ${options.method} ${options.url}`,
63+
`Secondary Rate Limit detected for request ${options.method} ${options.url}`,
6464
);
6565
},
6666
},

0 commit comments

Comments
 (0)