changeset 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 353a0b30f412
children 8073ae8cb164
files piecrust/serving/procloop.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)