Skip to content

Conversation

skbergam
Copy link

This way, the default onFail behavior will occur for users who don't specify one (currently, the default behavior of calling console.warn isn't reachable code).

I spent 2 hours trying to figure out why it was silently failing. Had to manually edit the code locally to figure out the issue (my API key had restrictions) but had this PR already been in place it would've taken seconds. Hopefully this helps someone else.

This way, the default onFail behavior will occur for users who don't specify one (currently, the default behavior of calling `console.warn` isn't reachable code).

I spent 2 hours trying to figure out why it was silently failing. Had to manually edit the code locally to figure out the issue (my API key had restrictions) but had this PR already been in place it would've taken seconds. Hopefully this helps someone else.
Copy link

@xgenem xgenem left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

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.

2 participants