Skip to content

Commit

Permalink
fix: type mistake in events.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Taras Batenkov committed Jun 21, 2018
1 parent 4e65305 commit 5309833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/instance/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export function eventsMixin (Vue: Class<Component>) {
for (let i = 0, l = cbs.length; i < l; i++) {
try {
const cbResult = cbs[i].apply(vm, args)
handlePromiseError(cbResult, vm, `${hook} hook`)
handlePromiseError(cbResult, vm, `event handler for "${event}"`)
} catch (e) {
handleError(e, vm, `event handler for "${event}"`)
}
Expand Down

0 comments on commit 5309833

Please sign in to comment.