-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: logs added for paze and samsung pay #812
base: main
Are you sure you want to change the base?
Conversation
Changed Files
|
@@ -279,9 +278,12 @@ let make = (publishableKey, options: option<JSON.t>, analyticsInfo: option<JSON. | |||
let samsungPayScript = Window.createElement("script") | |||
samsungPayScript->Window.elementSrc(samsungPayScriptUrl) | |||
samsungPayScript->Window.elementOnerror(err => { | |||
Console.log2("ERROR LOADING SAMSUNG PAY SCRIPT", err) | |||
logInfo(Console.log2("ERROR DURING LOADING SAMSUNG PAY SCRIPT", err)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it sending a network request? I believe it should be like
logger.setLogInfo(~value="ERROR DURING LOADING GOOGLE PAY SCRIPT", ~eventName=SAMSUNG_PAY_SCRIPT)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its just a normal console log, if the env is not prod then it will console for better debugging purposes, should this be changed to a log only?
Type of Change
Description
Added logs for samsung pay and paze
How did you test it?
Tested via checking network calls
Checklist
npm run re:build