def METHOD_NAME(self, *args, **kwargs):
    # type: (Route, *object, **object) -> Any
    hub = Hub.current
    integration = hub.get_integration(BottleIntegration)
    prepared_callback = old_make_callback(self, *args, **kwargs)
    if integration is None:
        return prepared_callback
    # If an integration is there, a client has to be there.
    client = hub.client  # type: Any
    def wrapped_callback(*args, **kwargs):
        # type: (*object, **object) -> Any
        try:
            res = prepared_callback(*args, **kwargs)
        except HTTPResponse:
            raise
        except Exception as exception:
            event, hint = event_from_exception(
                exception,
                client_options=client.options,
                mechanism={"type": "bottle", "handled": False},
            )
            hub.capture_event(event, hint=hint)
            raise exception
        return res
    return wrapped_callback