Commit cc4eca25 authored by ibuler's avatar ibuler

[Update] add debug log

parent 6d4e9c7d
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment