Skip to content

Commit f8fa28f

Browse files
authored
Merge pull request #10081 from continuedev/dallin/better-failed-default-config-error
fix: better failed default config error
2 parents 38a2ca2 + ad0c97a commit f8fa28f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

extensions/cli/src/configLoader.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,9 @@ async function loadDefaultConfig(
377377
});
378378

379379
if (!resp.configResult.config) {
380-
throw new Error("Failed to load default agent.");
380+
throw new Error(
381+
`Failed to load default agent. Body:\n${JSON.stringify(resp)}`,
382+
);
381383
}
382384
let apiConfig = resp.configResult.config as AssistantUnrolled;
383385
if (injectBlocks.length > 0) {

0 commit comments

Comments
 (0)