chenjunkai 6 years ago
parent
commit
31ea0e14c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/OTAEquipment.py

+ 1 - 1
Controller/OTAEquipment.py

@@ -33,7 +33,7 @@ def addNewEquipmentVersion(deviceContent, token,response):
                 try:
                     deviceData = json.loads(deviceContent)
                 except Exception as e:
-                    return response.json(803)
+                    return response.json(803,repr(e))
                 else:
                     version = deviceData.get('version', None)
                     if version is not None: