Add clarity to error messages (#14879)

This commit is contained in:
Gaurav Sehgal
2025-12-13 06:31:12 +05:30
committed by GitHub
parent ad60cbfc2c
commit d9f94103cd
5 changed files with 88 additions and 54 deletions
+2 -1
View File
@@ -483,7 +483,8 @@ export const useGeminiStream = (
userMessageTimestamp,
);
if (!atCommandResult.shouldProceed) {
if (atCommandResult.error) {
onDebugMessage(atCommandResult.error);
return { queryToSend: null, shouldProceed: false };
}
localQueryToSendToGemini = atCommandResult.processedQuery;