Skip to content

Commit eb24e16

Browse files
committed
for testing
1 parent a2806a7 commit eb24e16

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lua/CopilotChat/config/providers.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,10 @@ M.copilot = {
243243
if response.body and response.body.endpoints and response.body.endpoints.api then
244244
log.info('get_headers ok, authenticated. Use api endpoint: ' .. response.body.endpoints.api)
245245
log.info(utils.to_string(response)) --TODO: remove me, testing only
246+
error(
247+
'get_headers authenticated, but missing key "endpoints.api" in server response. Check log for details: '
248+
.. MC.config.log_path
249+
) -- TODO: remove me
246250
M.endpoints_api = response.body.endpoints.api
247251
else
248252
log.error(

0 commit comments

Comments
 (0)