summaryrefslogtreecommitdiff
path: root/src/book.c
diff options
context:
space:
mode:
authorAlessio Treglia <quadrispro@ubuntu.com>2010-04-14 12:24:35 +0200
committerAlessio Treglia <quadrispro@ubuntu.com>2010-04-14 12:24:35 +0200
commita9a833c10711f1ec7060322030f11e64f44fca2c (patch)
tree2c0d84e44be6ed79c04b79540d55618ba73479aa /src/book.c
parentc2e54e51031fa4b2512b851d13f5781118269d6b (diff)
parent6d9871f7c7de6caca9eb78683bcba499119e1469 (diff)
Merge commit 'upstream/1.0.0'
Diffstat (limited to 'src/book.c')
-rw-r--r--src/book.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/book.c b/src/book.c
index 6bf4d0a..036d133 100644
--- a/src/book.c
+++ b/src/book.c
@@ -321,6 +321,7 @@ book_save_pdf_with_imagemagick (Book *book, GFile *file, GError **error)
g_warning ("stdout: %s", stdout_text);
g_warning ("stderr: %s", stderr_text);
result = FALSE;
+ g_set_error (error, BOOK_TYPE, 0, "ImageMagick returned error code %d, command line was: %s", exit_status, command_line->str);
}
g_free (stdout_text);
g_free (stderr_text);