code: func HandlePluginError(plugin string, err error, impacted ...*auditinternal.Event) {
  	// Count the error.
  	errorCounter.WithLabelValues(plugin).Add(float64(len(impacted)))
  
  	// Log the audit events to the debug log.
  	msg := fmt.Sprintf("Error in audit plugin '%s' affecting %d audit events: %v\nImpacted events:\n",
  		plugin, len(impacted), err)
  	for _, ev := range impacted {
  		msg = msg + EventString(ev) + "\n"
  	}
  	klog.Error(msg)
  }
docs: // HandlePluginError handles an error that occurred in an audit plugin. This method should only be
  // used if the error may have prevented the audit event from being properly recorded. The events are
  // logged to the debug log.