Mercurial > piecrust2
diff piecrust/baking/worker.py @ 996:92a98c84a925
cm: Fix crashes when page assets deployment fails.
This can happen for instance if page assets are read-only files.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 12 May 2017 09:26:37 -0700 |
parents | c3cb2f9df882 |
children | 2e5c5d33d62c |
line wrap: on
line diff
--- a/piecrust/baking/worker.py Fri May 12 09:26:06 2017 -0700 +++ b/piecrust/baking/worker.py Fri May 12 09:26:37 2017 -0700 @@ -234,6 +234,7 @@ except Exception as ex: logger.debug("Got baking error. Sending it to master.") result['errors'] = _get_errors(ex) + result['sub_entries'] = [] if self.ctx.app.debug: logger.exception(ex)