diff options
-rw-r--r-- | libcrystfel/src/profile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcrystfel/src/profile.c b/libcrystfel/src/profile.c index c94c746c..79228b34 100644 --- a/libcrystfel/src/profile.c +++ b/libcrystfel/src/profile.c @@ -206,7 +206,9 @@ void profile_start(const char *name) if ( pd == NULL ) return; if ( pd->current->n_children >= MAX_PROFILE_CHILDREN ) { - fprintf(stderr, "Too many profile children.\n"); + fprintf(stderr, "Too many profile children " + "(opening %s inside %s).\n", + pd->current->name, name); fflush(stderr); abort(); } |