* client: add error message if update failed

This commit is contained in:
Ildar Kamalov
2019-05-16 17:33:09 +03:00
committed by Simon Zolin
parent cb3f7f2834
commit 9cffe865ec
2 changed files with 2 additions and 1 deletions

View File

@@ -172,7 +172,7 @@ export const getUpdate = () => async (dispatch) => {
}
}, CHECK_TIMEOUT);
} catch (error) {
dispatch(addErrorToast({ error }));
dispatch(addErrorToast({ error: 'update_failed' }));
dispatch(getUpdateFailure());
}
};