diff options
author | Thomas White <taw@physics.org> | 2021-04-20 11:43:26 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-04-20 11:43:36 +0200 |
commit | 0ccfa50e3e38f85fe3ec4cd0a992e8e888a40cd2 (patch) | |
tree | 0e35bfbfdcca7981328714959f0c99cf33e80bc5 | |
parent | efe5797f2cad7d0beb8e55531133c26153b40a7a (diff) |
image_read_data_block: Warn user if things go wrong
-rw-r--r-- | libcrystfel/src/image.c | 1 |
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; } |