Fixed issue with quoting on some errors which was causing the plugin to fail.