added error reporting config