fix: handle connection loss errors consistently
This commit is contained in:
1 parent
e2f68de455
commit
c0248cbe8e
5 files changed
+185
-74
No files matched your search
@@ -1845,7 +1845,7 @@ export const useQueryStore = defineStore("query", () => {
|
||||
tab.executionId = undefined;
|
||||
const error = new Error(t("editor.connectionMayBeLost"));
|
||||
tab.result = toErrorResult(error);
|
||||
connStore.recordConnectionLostError(tab.connectionId, error);
|
||||
connStore.markConnectionLost(tab.connectionId, error);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user