add error reporting process