Skip to content
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

createSend is not a function in onError handler #142

Closed
fyrkant opened this issue Jul 8, 2016 · 2 comments
Closed

createSend is not a function in onError handler #142

fyrkant opened this issue Jul 8, 2016 · 2 comments

Comments

@fyrkant
Copy link
Contributor

fyrkant commented Jul 8, 2016

Expected behavior

Running the http example and pressing the Naughty button should create an error that is sent up to the onError handler, which in its turn should display the error on page.

Actual behavior

The onError handler fails with error createSend is not a function.

Steps to reproduce behavior

Clone main repo, npm install, cd to http example, npm install, npm start and then press Naughty button.

@fyrkant
Copy link
Contributor Author

fyrkant commented Jul 8, 2016

Problem with barracks, seems like the second and third parameters (state and createSend) gets lost here in wrapOnError.

@yoshuawuyts
Copy link
Member

Closing because choo@5 will introduce a new API. See #425 for the merged PR. Thanks!

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

No branches or pull requests

2 participants