diff -r 1ec9fe1dfba9 -r 2a164a9cf81c uilib.py --- a/uilib.py Tue Sep 20 15:14:04 2011 +0200 +++ b/uilib.py Wed Sep 21 17:38:00 2011 +0200 @@ -406,10 +406,10 @@ def exc_message(ex, encoding): try: return unicode(ex) - except: + except Exception: try: return unicode(str(ex), encoding, 'replace') - except: + except Exception: return unicode(repr(ex), encoding, 'replace') @@ -423,7 +423,7 @@ res.append(u'\n') try: res.append(u'\t Error: %s\n' % exception) - except: + except Exception: pass return u'\n'.join(res)