only report errors in production