aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image-msgpack.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-04-23 11:44:40 +0200
committerThomas White <taw@physics.org>2021-04-23 14:57:24 +0200
commitdabd5fc6bb68dbc3f0dbaa1d22ee08e8f26e6a3f (patch)
tree66e182e181075f9441fb98fc9acb7f13a6264b1e /libcrystfel/src/image-msgpack.c
parent43a7f83b1d8556bf115aeacf5faedf9fb014bc36 (diff)
MsgPack: improve an error message
Diffstat (limited to 'libcrystfel/src/image-msgpack.c')
-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;
}