error reporting with plugins