Make the generator options accept a file name in addition to format string.
[apps/agl-service-can-low-level.git] / tests / test_encode1.c
index 2e97829..742c99f 100644 (file)
@@ -27,6 +27,7 @@ int main()
     }
     else
     {
+        fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream));
         return 1; /* Failure */
     }
 }