Update timed out response

This commit is contained in:
Changhua 2023-03-04 22:51:08 +08:00
parent a9e996d06a
commit b4d0ffef8d

View File

@ -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