diff --git a/python/wcferry/client.py b/python/wcferry/client.py index 336b8b1..4534f3e 100644 --- a/python/wcferry/client.py +++ b/python/wcferry/client.py @@ -34,7 +34,7 @@ def _retry(): except Exception as e: func_name = re.findall(r"func: (.*?)\n", str(args[1]))[-1] logging.getLogger("WCF").error(f"Call {func_name} failed: {e}") - ret = None + ret = wcf_pb2.Response() return ret return wrapper