关闭寻息部分日志
This commit is contained in:
parent
7eef31ddf1
commit
d1db7d60bb
|
@ -65,7 +65,7 @@ class BltViewSet(CustomGenericViewSet):
|
||||||
return Response(ret)
|
return Response(ret)
|
||||||
|
|
||||||
@action(methods=['post'], detail=False, perms_map={'post': 'blt.all'},
|
@action(methods=['post'], detail=False, perms_map={'post': 'blt.all'},
|
||||||
serializer_class=BltQuerySerializer)
|
serializer_class=BltQuerySerializer, logging_methods=[])
|
||||||
def all(self, request):
|
def all(self, request):
|
||||||
"""全部在线标签列表信息
|
"""全部在线标签列表信息
|
||||||
|
|
||||||
|
|
|
@ -104,7 +104,7 @@ class XxClient:
|
||||||
if raise_exception:
|
if raise_exception:
|
||||||
raise ParseError(**err_detail)
|
raise ParseError(**err_detail)
|
||||||
return 'fail', err_detail
|
return 'fail', err_detail
|
||||||
self.handle_log(result='success', response=ret)
|
# self.handle_log(result='success', response=ret)
|
||||||
return 'success', ret['data']
|
return 'success', ret['data']
|
||||||
self.handle_log(result='error', errors=traceback.format_exc())
|
self.handle_log(result='error', errors=traceback.format_exc())
|
||||||
if raise_exception:
|
if raise_exception:
|
||||||
|
|
Loading…
Reference in New Issue