aboutsummaryrefslogtreecommitdiff
path: root/lib/document-to-html.js
diff options
context:
space:
mode:
authorAndrej T <andrejtrajchevski@gmail.com>2016-07-06 13:37:03 +0200
committerAndrej T <andrejtrajchevski@gmail.com>2016-07-06 13:46:42 +0200
commit60f36a1a20b34a0907aeb1af013f0f6ed97e45df (patch)
tree5dec7b17bcd164b1d897c0736691be0f7612c5e2 /lib/document-to-html.js
parent3047481420f215fb60b0380fa187975948ba54be (diff)
added 'error' messages; exceptions in imgConvert are now errors (not warnings)
Diffstat (limited to 'lib/document-to-html.js')
-rw-r--r--lib/document-to-html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js
index f2d5229..6aa7a9c 100644
--- a/lib/document-to-html.js
+++ b/lib/document-to-html.js
@@ -185,7 +185,7 @@ function DocumentConversion(options) {
function recoveringConvertImage(convertImage) {
return function(image, messages) {
return convertImage(image, messages).caught(function(error) {
- messages.push(results.warning(error.message));
+ messages.push(results.error(error));
return [];
});
};