def start(self, **kwargs):
    super(FunctionActivity, self).start(**kwargs)
    try:
        self.callback(self)
    except Exception as e:
        logger.exception(e)
        self.error(exception=e)
        return
    self.finish()
def start(self, **kwargs):
    super(FunctionActivity, self).start(**kwargs)
    try:
        self.callback(self)
    except Exception as e:
        logger.exception(e)
        self.error(exception=e)
        return
    self.finish()