properly serialize errors

This commit is contained in:
Greg Johnston 2024-06-08 07:26:14 -04:00
parent 07e878adf7
commit 1d2d11b83d
1 changed files with 3 additions and 1 deletions

View File

@ -92,7 +92,9 @@ impl SharedContext for SsrSharedContext {
_ = write!( _ = write!(
initial_chunk, initial_chunk,
"[{}, {}, {:?}],", "[{}, {}, {:?}],",
error.0 .0, error.1, error.2 error.0 .0,
error.1,
error.2.to_string()
); );
} }
initial_chunk.push_str("];"); initial_chunk.push_str("];");