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 8290ac8 commit eed7c71Copy full SHA for eed7c71
1 file changed
src/store/socket/actions.ts
@@ -49,7 +49,7 @@ export const actions: ActionTree<SocketState, RootState> = {
49
* Another case might be during a klippy disconnect.
50
*/
51
async onSocketError ({ commit }, payload) {
52
- if (payload.code === 400) {
+ if (payload.code >= 400 && payload.code < 500) {
53
// clear any associated waits.
54
if (payload.__request__ && payload.__request__.wait) {
55
commit('removeWait', payload.__request__.wait)
0 commit comments