Patch phone verification for more informative error messages

This commit is contained in:
Liam Cardenas 2018-01-27 16:25:22 -08:00
parent c603f515c4
commit fa68ffee59

View file

@ -102,10 +102,10 @@ export function doUserPhoneNew(phone, country_code) {
});
};
const failure = () => {
const failure = error => {
dispatch({
type: ACTIONS.USER_PHONE_NEW_FAILURE,
data: { error: 'An error occurred while processing this phone number.' },
data: { error },
});
};