From 385adbbd23969384a3ee2a6f17b1fd4c7e7442c3 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 1 Apr 2022 11:49:22 +0200 Subject: GUI: Improve an error message --- src/gui_import.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3