logging errors to plugin's option table