debian/cubicweb-ctl.install.in
author Rémi Cardona <remi.cardona@logilab.fr>
Thu, 05 Jun 2014 17:41:14 +0200
branchstable
changeset 9921 8227358aa983
parent 9208 7ae95f48e2f0
permissions -rw-r--r--
[web] Return useful error messages when exceptions arise in ajax controllers (closes #3932503) The call to super() in RemoteCallException passes 'reason' all the way to python's Exception.__init__() which is then stored in Exception.args. This way, CubicWebPublisher.ajax_error_handler() gets a useful error message when calling unicode(exc). The change to uilib is just to prepend the exception type name. Just a small improvement.

usr/bin/cubicweb-ctl usr/bin/
usr/lib/PY_VERSION/*-packages/cubicweb/cwctl.py
../cubicweb-ctl.bash_completion etc/bash_completion.d/cubicweb-ctl