Skip to content

Commit

Permalink
TODO do not swallow inline completion error
Browse files Browse the repository at this point in the history
This just makes it harder to debug. VS Code catches errors at a higher level anyway.

TODO See #442 (comment)
  • Loading branch information
sqs committed Aug 1, 2023
1 parent 050ebb4 commit 8bca091
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vscode/src/completions/vscodeInlineCompletionItemProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ export class InlineCompletionItemProvider implements vscode.InlineCompletionItem
debug('CodyCompletionProvider:inline:error', `${error.toString()}\n${error.stack}`)
}

console.error(error)
debug('CodyCompletionProvider:inline:error', `${error.toString()}\n${error.stack}`)
return emptyCompletions()
}
}
Expand Down

0 comments on commit 8bca091

Please sign in to comment.