def METHOD_NAME(self, *args, **kwargs):
    try:
        return fn(self, *args, **kwargs)
    except exceptions as exc:
        logging.warning("Error computing rate limits: %r", exc)
        self._metrics.increment(
            "warehouse.ratelimiter.error", tags=[f"call:{fn.__name__}"]
        )
        return rvalue