Fix reference to pluginError function
Merge pull request #1 from adamayres/patch-1

Fix reference to pluginError function