aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-01-24 11:58:30 +0100
committerThomas White <taw@physics.org>2019-01-24 11:58:30 +0100
commit4aeca910df2803b150a3716e25610cf00bd611f8 (patch)
tree6ef6f9389f7bc13015393a9f64cdf73f54efdb6c
parentfdf57445bc817442cc570cb75fbe3e2d2c51537d (diff)
Say what path was being opened when event enumeration fails
-rw-r--r--libcrystfel/src/hdf5-file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/hdf5-file.c b/libcrystfel/src/hdf5-file.c
index 9cc03f0b..7b81b407 100644
--- a/libcrystfel/src/hdf5-file.c
+++ b/libcrystfel/src/hdf5-file.c
@@ -2619,6 +2619,7 @@ static int check_dims(struct hdfile *hdfile, struct panel *p, struct event *ev,
dh = H5Dopen2(hdfile->fh, full_panel_path, H5P_DEFAULT);
if ( dh < 0 ) {
+ ERROR("Error opening '%s'\n", full_panel_path);
ERROR("Failed to enumerate events. "
"Check your geometry file.\n");
return 1;