diff --git a/src/storage/json/parser.rs b/src/storage/json/parser.rs index e0523daa..11893f5e 100644 --- a/src/storage/json/parser.rs +++ b/src/storage/json/parser.rs @@ -70,7 +70,9 @@ impl FileHeaderParser for JsonHeaderParser { let mut s = Vec::::new(); { let mut ser = Serializer::pretty(&mut s); - data.serialize(&mut ser); + data.serialize(&mut ser).map_err(|e| { + debug!("Serializer error: {:?}", e); + }).ok(); } String::from_utf8(s).or(