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 a85d940 commit ab6bb5cCopy full SHA for ab6bb5c
src/api/index.ts
@@ -357,7 +357,8 @@ export class AtelierAPI {
357
return data;
358
}
359
} catch (error) {
360
- if (error.error && error.error.code === "ECONNREFUSED") {
+ if (error.code === "ECONNREFUSED") {
361
+ authRequestMap.delete(target);
362
panel.text = `${this.connInfo} $(debug-disconnect)`;
363
panel.tooltip = "Disconnected";
364
workspaceState.update(this.configName + ":host", undefined);
0 commit comments