MCPcopy Create free account
hub / github.com/continuedev/continue / handleIndexingError

Method handleIndexingError

core/indexing/CodebaseIndexer.ts:803–818  ·  view source on GitHub ↗
(e: any)

Source from the content-addressed store, hash-verified

801 }
802
803 public async handleIndexingError(e: any) {
804 if (e instanceof LLMError && this.messenger) {
805 // Need to report this specific error to the IDE for special handling
806 void this.messenger.request("reportError", e);
807 }
808
809 // broadcast indexing error
810 const updateToSend: IndexingProgressUpdate = {
811 progress: 0,
812 status: "failed",
813 desc: e.message,
814 };
815
816 this.updateProgress(updateToSend);
817 void this.sendIndexingErrorTelemetry(updateToSend);
818 }
819
820 public get currentIndexingState(): IndexingProgressUpdate {
821 return this.codebaseIndexingState;

Callers 2

refreshCodebaseIndexMethod · 0.95

Calls 3

updateProgressMethod · 0.95
requestMethod · 0.65

Tested by

no test coverage detected