summaryrefslogtreecommitdiff
path: root/morphlib/app.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-05-28 16:28:28 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-05-28 16:28:28 +0000
commitd5d9b7253f968b67e9c9a3e6d260a6adf1dee8f9 (patch)
treeaa33f3b250505f2f55e870ea9a48337853fe3e86 /morphlib/app.py
parent57d2fc906005e073ba942ce5b89fde3ec1eefece (diff)
parent6375554363c111fda70b7540c3c56a0e9cf1497b (diff)
downloadmorph-d5d9b7253f968b67e9c9a3e6d260a6adf1dee8f9.tar.gz
Merge branch 'liw/kill-bare-except'
Reviewed-by: Richard Maw I, Lars, note that we have an old version of CoverageTestRunner in Baserock. The new version hides the spurious logging messages.
Diffstat (limited to 'morphlib/app.py')
-rw-r--r--morphlib/app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/app.py b/morphlib/app.py
index e6d8b332..267dab1b 100644
--- a/morphlib/app.py
+++ b/morphlib/app.py
@@ -253,8 +253,8 @@ class Morph(cliapp.Application):
reponame=reponame,
ref=ref,
chatty=True)
- except:
- pass
+ except BaseException, e:
+ logging.warning('Caught (and ignored) exception: %s' % str(e))
if absref is None:
if update:
self.status(msg='Caching git repository %(reponame)s',