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

Mastering Vuex, Success & Error Notifications Lesson 7. error.response should be error.message #5

Open
aspiringguru opened this issue Mar 8, 2019 · 0 comments

Comments

@aspiringguru
Copy link

aspiringguru commented Mar 8, 2019

at 0:36 in the Success & Error Notifications lecture the code incorrectly references error.response when error.message should be used.

console.log('there was an error:', error.response)

https://www.vuemastery.com/courses/mastering-vuex/success-error-notifications

It's a relatively minor error, quite annoying until you realize how simple it is to fix.

This is fixed later in the video when
console.log('there was an error:', error.response)
is replaced by
console.log('there was an error:', error.message)

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

1 participant