diff piecrust/baking/records.py @ 359:2cd2b5d07129

bake: Fix crash when handling bake errors. Bring back global record entry errors for errors that occur independently of baking sub-pages (and potentially before any sub-page was processed).
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 20 Apr 2015 23:56:35 -0700
parents 938be93215cb
children c12ee6936b8c
line wrap: on
line diff
--- a/piecrust/baking/records.py	Mon Apr 20 22:50:41 2015 -0700
+++ b/piecrust/baking/records.py	Mon Apr 20 23:56:35 2015 -0700
@@ -88,6 +88,7 @@
         self.config = None
         self.subs = []
         self.assets = []
+        self.errors = []
 
     @property
     def path_mtime(self):