cubicweb #724689 exception's display (during ajax call) [resolved]

in cubicweb/web/views/basecontrollers.py in publish method of JSonController, we do:

try:
    ...
except Exception, ex:
     import traceback
     traceback.print_exc()
     self.exception('an exception occured while calling js_%s(%s): %s',
                     fname, args, ex)
     raise RemoteCallFailed(repr(ex))

use unicode instead of repr to display the exception is more appropriate for the user.

prioritynormal
typebug
done in3.10.6
load0.100
load left0.000
closed by<not specified>