Merge pull request #6 from eduardolundgren/master

Emit plugin error on failure