Skip to content

Uncaught (in promise) https://extensionpay.com/home ExtPay.js:1468 #187

Answered by burkybang
GrahamAvers asked this question in Q&A
Discussion options

You must be logged in to vote

Those methods might return promises. Try waiting for the promise to resolve before sending a response back.

Also, you don't need to add so many chrome.runtime.onMessage.addListener()s. Just add one and use ifs or a switch statement in the callback.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@GrahamAvers
Comment options

Answer selected by GrahamAvers
Comment options

You must be logged in to vote
2 replies
@Glench
Comment options

@GrahamAvers
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants