David пре 9 година
родитељ
комит
8de6059854
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      web.py

+ 3 - 1
web.py

@@ -75,8 +75,10 @@ def update_keyword():
         abort(400)
     try:
         kw = loads(json['kw'])
-    except Exception:
+    except Exception as e:
+        print(json['kw'])
         print("cant parse json")
+        print(e)
         abort(400)
 
     print(kw)