chiark / gitweb /
Restore friendly error messages
authorCiaran Gultnieks <ciaran@ciarang.com>
Tue, 20 May 2014 21:14:19 +0000 (22:14 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Tue, 20 May 2014 21:14:19 +0000 (22:14 +0100)
commite29da6b0231989fee32d57571857e4fb0e04fcaf
tree6bb1a3d1bca7742683e2e899db5710e0bc6d3b20
parent6391f204e17e71c66e99194c029d60a452e8c686
Restore friendly error messages

Use --verbose if you really want a full traceback with your 'you made a
typo in an package ID' messages.

It would be better to do this based on exception types (i.e. our own
exceptions - MetadataException, BuildException, VCSException) would not
print a traceback, but unexpected exceptions would. But the types are
not available at the 'fdroid' level currently.
fdroid
fdroidserver/common.py
fdroidserver/metadata.py