diff options
author | Thomas White <taw@physics.org> | 2017-05-05 17:06:12 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-05-05 17:06:12 +0200 |
commit | cdd75c7fadfcd2dadee101611a00dcf0d0e6ec5c (patch) | |
tree | a1c7da3fa7765c9183781f39003cb3c980de569e /libcrystfel | |
parent | 9104fb61c53f7d7d8fcb32627a7f87c2062ef496 (diff) |
Show filename of CBF file if it can't be read
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c index 849d95bf..c03b60d8 100644 --- a/libcrystfel/src/image.c +++ b/libcrystfel/src/image.c @@ -587,7 +587,7 @@ static int read_cbf(struct imagefile *f, struct image *image) /* CBFlib calls fclose(fh) when it's ready */ if ( cbf_read_widefile(cbfh, fh, 0) ) { - ERROR("Failed to read CBF file\n"); + ERROR("Failed to read CBF file '%s'\n", f->filename); cbf_free_handle(cbfh); return 1; } |