mirror of https://github.com/milvus-io/milvus.git
Fix enable_traceback still used issue (#12421)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/12412/head
parent
6439887eb7
commit
4dc2730bf5
|
@ -50,8 +50,8 @@ def api_request(_list, **kwargs):
|
|||
arg.append(a)
|
||||
arg_str = str(arg)
|
||||
log_arg = arg_str[0:log_row_length] + '......' if len(arg_str) > log_row_length else arg_str
|
||||
if enable_traceback == "True":
|
||||
# if enable_traceback == "True":
|
||||
if kwargs.get("enable_traceback", True):
|
||||
log.debug("(api_request) : [%s] args: %s, kwargs: %s" % (func.__qualname__, log_arg, str(kwargs)))
|
||||
return func(*arg, **kwargs)
|
||||
return False, False
|
||||
|
||||
|
|
Loading…
Reference in New Issue