In last part you can simply write:
const getUserData = mobile => getUserRecordFromAuth(mobile);
And wherever you call getUserData ; use the then chain because that way you will have assurance that it will either work or fail and in both cases, you can catch it.
whole code can be simply re-written in few lines as:
const getUserRecordFromAuth = mobile => auth
.getUserByPhoneNumber(mobile).catch(console.log);
const getUserData = mobile => getUserRecordFromAuth(mobile);
or without any abstraction:
const getUserData = mobile => auth
.getUserByPhoneNumber(mobile)
.catch(console.log);