From 1d2d11b83d9ea6381e44502d64ab8f6fa402b7ec Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Sat, 8 Jun 2024 07:26:14 -0400 Subject: [PATCH] properly serialize errors --- hydration_context/src/ssr.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hydration_context/src/ssr.rs b/hydration_context/src/ssr.rs index bb3c6edbd..4701e519c 100644 --- a/hydration_context/src/ssr.rs +++ b/hydration_context/src/ssr.rs @@ -92,7 +92,9 @@ impl SharedContext for SsrSharedContext { _ = write!( initial_chunk, "[{}, {}, {:?}],", - error.0 .0, error.1, error.2 + error.0 .0, + error.1, + error.2.to_string() ); } initial_chunk.push_str("];");