aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-02 09:20:22 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:44 +0200
commit546a3b7e96a4a914285b0284719f3f54d810728b (patch)
tree77b478b6165386227c9a18873efabc2537e6ac1e /libcrystfel
parent9040220452a9cc02706159c21c78e43b374446cf (diff)
Improve error message
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/image-hdf5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/image-hdf5.c b/libcrystfel/src/image-hdf5.c
index f698fed7..d13a0dae 100644
--- a/libcrystfel/src/image-hdf5.c
+++ b/libcrystfel/src/image-hdf5.c
@@ -386,8 +386,8 @@ static int load_hdf5_hyperslab(struct panel_template *p,
dh = H5Dopen2(fh, panel_full_path, H5P_DEFAULT);
if ( dh < 0 ) {
- ERROR("Cannot open data for panel %s (%s)\n",
- p->name, panel_full_path);
+ ERROR("Cannot open data for panel %s (%s) in file %s\n",
+ p->name, panel_full_path, filename);
free(panel_full_path);
close_hdf5(fh);
return 1;