liqd / adhocracy

Adhocracy is a policy drafting and decision making software for distributed groups and open institutions.
GNU Affero General Public License v3.0
150 stars 37 forks source link

Disable broken mako debugging #939

Closed nidico closed 9 years ago

nidico commented 9 years ago

As pylons provided mako debugging has been broken for some time and makes things even worse, this commit disables it entirely.

The broken custom handle_mako_error resulted in error tracebacks stopping at the place where mako error handling would normally take place, instead of getting down to the actual error. This is especially relevant if the error didn't occur in the template, but in other code, which was called from within a template.

xi commented 9 years ago

This certainly improves the situation.