From: Thierry Parmentelat Date: Wed, 18 Sep 2013 19:12:17 +0000 (+0200) Subject: exception handling shows the error X-Git-Tag: myslice-0.2-3~6^2~1^2~2 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=946cac8a131ad6d33229833a3c38df6bd9e37e2f exception handling shows the error --- diff --git a/manifold/manifoldproxy.py b/manifold/manifoldproxy.py index 720e5646..9f014971 100644 --- a/manifold/manifoldproxy.py +++ b/manifold/manifoldproxy.py @@ -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()