Skip to content

Commit 336aeb8

Browse files
committed
ghost: fix origins for exceptions
1 parent dacd0ca commit 336aeb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/extension/completions-core/vscode-node/extension/src/inlineCompletion.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class CopilotInlineCompletionItemProvider extends Disposable implements I
138138
commands: [sendCompletionFeedbackCommand],
139139
};
140140
} catch (e) {
141-
this.instantiationService.invokeFunction(exception, e, '.provideInlineCompletionItems', logger);
141+
this.instantiationService.invokeFunction(exception, e, '._provideInlineCompletionItems', logger);
142142
logContext.setError(e);
143143
}
144144
}
@@ -148,7 +148,7 @@ export class CopilotInlineCompletionItemProvider extends Disposable implements I
148148
this.copilotCompletionFeedbackTracker.trackItem(item);
149149
return this.ghostTextProvider.handleDidShowCompletionItem(item);
150150
} catch (e) {
151-
this.instantiationService.invokeFunction(exception, e, '.provideInlineCompletionItems', logger);
151+
this.instantiationService.invokeFunction(exception, e, '.handleDidShowCompletionItem', logger);
152152
}
153153
}
154154

@@ -159,7 +159,7 @@ export class CopilotInlineCompletionItemProvider extends Disposable implements I
159159
try {
160160
return this.ghostTextProvider.handleDidPartiallyAcceptCompletionItem(item, acceptedLengthOrInfo);
161161
} catch (e) {
162-
this.instantiationService.invokeFunction(exception, e, '.provideInlineCompletionItems', logger);
162+
this.instantiationService.invokeFunction(exception, e, '.handleDidPartiallyAcceptCompletionItem', logger);
163163
}
164164
}
165165

0 commit comments

Comments
 (0)