Closed nottrobin closed 2 years ago
This is to support https://github.com/canonical-web-and-design/ubuntu.com/pull/11343.
flask.abort can take a second argument, which is supposed to be the error description for the error handler. It seems like this should be passed through to the error templates if it's defined. Which is what I try to do in that PR.
flask.abort
QA by QAing https://github.com/canonical-web-and-design/ubuntu.com/pull/11343 which installs from this branch.
This is to support https://github.com/canonical-web-and-design/ubuntu.com/pull/11343.
flask.abort
can take a second argument, which is supposed to be the error description for the error handler. It seems like this should be passed through to the error templates if it's defined. Which is what I try to do in that PR.QA
QA by QAing https://github.com/canonical-web-and-design/ubuntu.com/pull/11343 which installs from this branch.