summaryrefslogtreecommitdiffstats
path: root/lib/utils/page.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/page.js')
-rw-r--r--lib/utils/page.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/utils/page.js b/lib/utils/page.js
index e526afb..fa333f2 100644
--- a/lib/utils/page.js
+++ b/lib/utils/page.js
@@ -155,8 +155,9 @@ function convertImages(images, options) {
return imgUtils.convert(imgin, imgout)
.then(function() {
options.book.log.debug.ok();
- }, function() {
+ }, function(err) {
options.book.log.debug.fail();
+ throw err;
});
});
}, Q());