moved error reporting only for current plugin