From d13783243d9e260610c50d09b4986609b38d74b9 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Fri, 20 Dec 2024 21:28:26 +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 fe148d91782..20dfcf75cc4 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 @@ -63,7 +63,7 @@ public static byte[] serializeToByteArray(Serializable value) { try { throw new IllegalArgumentException("unable to serialize " + ow.writeValueAsString(value), exn); } catch (JsonProcessingException ex) { - IllegalArgumentException("unable to jsonify " + value, exn); + throw new IllegalArgumentException("unable to jsonify " + value, exn); } } }