Skip to content

Commit

Permalink
Fixed #1 - wrong error context when no http library
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrubelic committed Apr 1, 2017
1 parent 51c48a8 commit 348b8a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function plugin(Vue, options) {
get() {
// vue-resource module not found, throw error
if (!this.$http) {
throw new Error('vue-resource instance not found')
throw new Error('Request handler instance not found')
}

return new VueAuthenticate(this.$http, options)
Expand Down

0 comments on commit 348b8a7

Please sign in to comment.