Browse Source

corrected log for body

ash 2 years ago
parent
commit
2ac4885789
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Backend/Sources/View/view_manager.py

+ 2 - 1
Backend/Sources/View/view_manager.py

@@ -63,7 +63,8 @@ def init() :
         logger.debug("request from " + request.remote_addr)
         logger.debug("request header" + str(request.headers.__dict__))
 
-        logger.debug("request body" + request.json)
+        if request.json :
+            logger.debug("request json body : " + str(request.json))
 
 
         if not "client_id" in session :