From 5f816a16681a348aa4c39ea4269181913c913441 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Fri, 20 Dec 2024 21:13:10 +0000 Subject: [PATCH] debug info --- .../main/java/org/apache/beam/sdk/util/SerializableUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/util/SerializableUtils.java b/sdks/java/core/src/main/java/org/apache/beam/sdk/util/SerializableUtils.java index c4941e22c4a..82f109d1ad4 100644 --- a/sdks/java/core/src/main/java/org/apache/beam/sdk/util/SerializableUtils.java +++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/util/SerializableUtils.java @@ -59,7 +59,7 @@ public static byte[] serializeToByteArray(Serializable value) { return buffer.toByteArray(); } catch (IOException exn) { ObjectWriter ow = new ObjectMapper().writer().withDefaultPrettyPrinter(); - throw new IllegalArgumentException("unable to serialize " + ow.writeValueAsString(object), exn); + throw new IllegalArgumentException("unable to serialize " + ow.writeValueAsString(value), exn); } }