def METHOD_NAME(self, request: Request, *args, **kwargs) -> Response:
    try:
        return super().METHOD_NAME(request, *args, **kwargs)
    except ApiError as exc:
        # Sometime set_badge() will fail to connect.
        response_option = handle_jira_api_error(exc, " to set badge")
        if response_option:
            return self.get_response(response_option)
        raise exc