log errors through the plugin interface