summaryrefslogtreecommitdiffstats
path: root/tests/test_encode1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_encode1.c')
-rw-r--r--tests/test_encode1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_encode1.c b/tests/test_encode1.c
index 2e978296..742c99f4 100644
--- a/tests/test_encode1.c
+++ b/tests/test_encode1.c
@@ -27,6 +27,7 @@ int main()
}
else
{
+ fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream));
return 1; /* Failure */
}
}