better DEBUG logging of errors in plugins