diff piecrust/serving/procloop.py @ 565:ff714d7f074d

serve: Fix error reporting when the background pipeline fails.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 09 Oct 2015 16:49:12 -0700
parents cc6f3dbe3048
children 7dabfdd056a1
line wrap: on
line diff
--- a/piecrust/serving/procloop.py	Sun Aug 16 13:02:19 2015 -0700
+++ b/piecrust/serving/procloop.py	Fri Oct 09 16:49:12 2015 -0700
@@ -168,7 +168,7 @@
                 for entry in self._record.entries:
                     if entry.errors:
                         asset_item = {
-                                'path': entry.rel_input,
+                                'path': entry.path,
                                 'errors': list(entry.errors)}
                         item['assets'].append(asset_item)