Commit ff72e060 authored by Davve's avatar Davve

修改格式化

parent e0995fd5
...@@ -83,7 +83,7 @@ class LoginView(APIView): ...@@ -83,7 +83,7 @@ class LoginView(APIView):
else: else:
data.update({'roles': ['anonymous']}) data.update({'roles': ['anonymous']})
except Exception as e: except Exception as e:
error_logger.error(u'获取用户信息失败,%s' % (id, e)) error_logger.error(u'获取用户信息失败,%s' % e)
raise raise
return {'data': data} return {'data': data}
......
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