aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/post-refinement.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index 8fa54206..27c73570 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -885,7 +885,8 @@ static void do_pr_refine(Crystal *cr, const RefList *full,
}
} else {
- ERROR("Bad refinement: crystal %i\n", serial);
+ ERROR("Bad refinement: crystal %i (%s) after %i iterations\n",
+ serial, gsl_strerror(status), n_iter);
}
if ( write_logs ) {