aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/image-msgpack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcrystfel/src/image-msgpack.c b/libcrystfel/src/image-msgpack.c
index 14f5f30d..aabfd6fa 100644
--- a/libcrystfel/src/image-msgpack.c
+++ b/libcrystfel/src/image-msgpack.c
@@ -395,7 +395,8 @@ int image_msgpack_read(struct image *image,
for ( i=0; i<dtempl->n_panels; i++ ) {
if ( load_msgpack_data(&dtempl->panels[i], obj, &image->dp[i]) )
{
- ERROR("Failed to load panel data\n");
+ ERROR("Failed to load data for panel '%s'\n",
+ dtempl->panels[i].name);
msgpack_unpacked_destroy(&unpacked);
return 1;
}