This commit is contained in:
Kovid Goyal 2013-01-31 22:55:43 +05:30
parent 54d688ba07
commit a4d185ec72

View File

@ -236,6 +236,7 @@ class PDFWriter(QObject):
except: except:
self.log.exception('Rendering failed') self.log.exception('Rendering failed')
self.loop.exit(1) self.loop.exit(1)
return
else: else:
# The document is so corrupt that we can't render the page. # The document is so corrupt that we can't render the page.
self.logger.error('Document cannot be rendered.') self.logger.error('Document cannot be rendered.')