branch | stable |
changeset 9592 | 6fd2651719bc |
parent 9517 | 3338b2205ea3 |
child 10023 | c3ab46842b2d |
--- a/ext/rest.py Fri Mar 14 15:19:31 2014 +0100 +++ b/ext/rest.py Thu Mar 13 15:33:22 2014 +0100 @@ -437,7 +437,7 @@ # necessary for proper garbage collection, else a ref is kept somewhere in docutils... del pub.settings.context return res - except Exception: + except BaseException: LOGGER.exception('error while publishing ReST text') if not isinstance(data, unicode): data = unicode(data, encoding, 'replace')