mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 23:20:37 +00:00
[Update] add debug log
This commit is contained in:
@@ -56,6 +56,7 @@ class TerminalViewSet(viewsets.ModelViewSet):
|
||||
return Response(data, status=201)
|
||||
else:
|
||||
data = serializer.errors
|
||||
logger.error("Register terminal error: {}".format(data))
|
||||
return Response(data, status=400)
|
||||
|
||||
def get_permissions(self):
|
||||
|
Reference in New Issue
Block a user