Files @ 2fa9f497faac
Branch filter:

Location: kallithea/docs/readme.rst - annotation

2fa9f497faac 42 B text/prs.fallenstein.rst Show Source Show as Raw Download as Raw
Mads Kiilerich
repos: separate repo creation from form validation

The broad catching of Exception in the repo creation controller is conceptually
bad. It also caused misleading "Error creating repository None" when form
validation failed with anything but formencode.Invalid . For now, just
constrain the broad exception handling to only cover repo creation. It is a bug
if form validation fails in unexpected ways, and we want it reported as a crash
that we can fix.
1
2
3
.. _readme:

.. include:: ./../README.rst