We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32fb4e5 commit 65cfd85Copy full SHA for 65cfd85
1 file changed
extensions/ql-vscode/src/variant-analysis/variant-analysis-manager.ts
@@ -76,6 +76,7 @@ import {
76
} from "./repo-states-store";
77
import { GITHUB_AUTH_PROVIDER_ID } from "../common/vscode/authentication";
78
import { FetchError } from "node-fetch";
79
+import { extLogger } from "../common";
80
81
const maxRetryCount = 3;
82
@@ -632,8 +633,14 @@ export class VariantAnalysisManager
632
633
e instanceof FetchError &&
634
(e.code === "ETIMEDOUT" || e.code === "ECONNRESET")
635
) {
636
+ void extLogger.log(
637
+ `Timeout while trying to download variant analysis with id: ${variantAnalysis.id}. Retrying...`,
638
+ );
639
continue;
640
}
641
642
+ `Failed to download variable analysis after ${retry} attempts.`,
643
644
throw e;
645
646
0 commit comments