add error event
fix error event
Merge branch 'master' of github.com:mindpin/js-warrior