exception handling shows the error
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 18 Sep 2013 19:12:17 +0000 (21:12 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 18 Sep 2013 19:12:17 +0000 (21:12 +0200)
manifold/manifoldproxy.py

index 720e564..9f01497 100644 (file)
@@ -107,8 +107,8 @@ with the query passed using POST"""
 
         return HttpResponse (json_answer, mimetype="application/json")
 
-    except:
-        print "** PROXY ERROR **"
+    except Exception,e:
+        print "** PROXY ERROR **",e
         import traceback
         traceback.print_exc()