We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d96e40 commit 5a75c30Copy full SHA for 5a75c30
apps/studio/electron/main/chat/index.ts
@@ -132,14 +132,18 @@ class LlmManager {
132
return { message: parsed.error.message, type: 'error' };
133
}
134
135
+ if (error.error instanceof DOMException) {
136
+ return { message: 'Request aborted', type: 'error' };
137
+ }
138
+
139
return { message: JSON.stringify(error), type: 'error' };
140
} catch (parseError) {
141
console.error('Error parsing error', parseError);
142
return { message: JSON.stringify(parseError), type: 'error' };
- } finally {
- this.abortController?.abort();
- this.abortController = null;
143
144
+ } finally {
145
+ this.abortController?.abort();
146
+ this.abortController = null;
147
148
149
0 commit comments