aboutsummaryrefslogtreecommitdiff
path: root/src/gui_import.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-04-01 11:49:22 +0200
committerThomas White <taw@physics.org>2022-04-01 11:49:22 +0200
commit385adbbd23969384a3ee2a6f17b1fd4c7e7442c3 (patch)
tree6b29b43713c30447d1b20b3108c2cbdb02ce7d87 /src/gui_import.c
parenta4c786d52613063d338ee010f4415e8a6aef0513 (diff)
GUI: Improve an error message
Diffstat (limited to 'src/gui_import.c')
-rw-r--r--src/gui_import.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui_import.c b/src/gui_import.c
index 64832006..3b2ad736 100644
--- a/src/gui_import.c
+++ b/src/gui_import.c
@@ -61,7 +61,9 @@ static void add_all_events(struct crystfelproject *proj,
events = image_expand_frames(dtempl, filename, &n_events);
if ( events == NULL ) {
- ERROR("Couldn't expand event list\n");
+ ERROR("Couldn't expand event list. Either the data file(s)"
+ " are corrupted, or the geometry file does not match"
+ " their contents.\n");
return;
}