chore(logging): log the problematic event for #12122 (#14092)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Brian de Alwis
2025-12-01 16:42:44 -05:00
committed by GitHub
parent b4df7e351b
commit fcb85e612f

View File

@@ -662,7 +662,7 @@ export class Task {
errorMessage,
);
let errMessage = 'Unknown error from LLM stream';
let errMessage = `Unknown error from LLM stream: ${JSON.stringify(event)}`;
if (errorEvent.value) {
errMessage = parseAndFormatApiError(errorEvent.value);
}