* client: add error message if update failed
This commit is contained in:
committed by
Simon Zolin
parent
cb3f7f2834
commit
9cffe865ec
@@ -172,7 +172,7 @@ export const getUpdate = () => async (dispatch) => {
|
||||
}
|
||||
}, CHECK_TIMEOUT);
|
||||
} catch (error) {
|
||||
dispatch(addErrorToast({ error }));
|
||||
dispatch(addErrorToast({ error: 'update_failed' }));
|
||||
dispatch(getUpdateFailure());
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user