Skip to content

Add onfido logs#6892

Merged
marcaaron merged 3 commits into
mainfrom
nat-onfidologs
Dec 24, 2021
Merged

Add onfido logs#6892
marcaaron merged 3 commits into
mainfrom
nat-onfidologs

Conversation

@nkuoch

@nkuoch nkuoch commented Dec 23, 2021

Copy link
Copy Markdown
Contributor

Details

Adding logs, similar to what we already have on secure, to help us debug user issues.

Fixed Issues

$ https://github.com/Expensify/Expensify/issues/150155

Tests

Made sure I could see the analytics Onfido logs

QA Steps

None

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

image

image

@nkuoch nkuoch requested a review from a team as a code owner December 23, 2021 14:40
@nkuoch nkuoch self-assigned this Dec 23, 2021
@MelvinBot MelvinBot requested review from MonilBhavsar and removed request for a team December 23, 2021 14:40
@nkuoch nkuoch requested review from marcaaron and removed request for MonilBhavsar December 23, 2021 14:58
marcaaron
marcaaron previously approved these changes Dec 23, 2021
Comment thread src/components/Onfido/BaseOnfidoWeb.js Outdated
},
onError: (error) => {
const errorMessage = lodashGet(error, 'message', CONST.ERROR.UNKNOWN_ERROR);
Log.hmmm('Onfido error', {errorType: error.type, errorMessage});

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NAB, not sure if this is possible but if error is undefined this could throw. Then again, maybe we trust Onfido to always pass something to this callback... 😄

Comment thread src/pages/EnablePayments/OnfidoStep.js
@nkuoch

nkuoch commented Dec 24, 2021

Copy link
Copy Markdown
Contributor Author

updated

@marcaaron marcaaron merged commit 81fc97d into main Dec 24, 2021
@marcaaron marcaaron deleted the nat-onfidologs branch December 24, 2021 17:03
@marcaaron

Copy link
Copy Markdown
Contributor

Looks great thanks for these changes 🙇

@OSBotify

Copy link
Copy Markdown
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by @marcaaron in version: 1.1.23-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 failure ❌
🍎 iOS 🍎 failure ❌
🕸 web 🕸 success ✅

@OSBotify

OSBotify commented Jan 4, 2022

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by @francoisl in version: 1.1.24-8 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants