aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-04-20 11:43:26 +0200
committerThomas White <taw@physics.org>2021-04-20 11:43:36 +0200
commit0ccfa50e3e38f85fe3ec4cd0a992e8e888a40cd2 (patch)
tree0e35bfbfdcca7981328714959f0c99cf33e80bc5 /libcrystfel/src/image.c
parentefe5797f2cad7d0beb8e55531133c26153b40a7a (diff)
image_read_data_block: Warn user if things go wrong
Diffstat (limited to 'libcrystfel/src/image.c')
-rw-r--r--libcrystfel/src/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index 36bb0fba..e7d470a5 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -1224,6 +1224,7 @@ struct image *image_read_data_block(const DataTemplate *dtempl,
if ( do_image_read(image, dtempl, no_image_data, no_mask_data) ) {
image_free(image);
+ ERROR("Failed to load image\n");
return NULL;
}