mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 23:18:01 +00:00
Fix panic in telemetry (#4336)
This commit is contained in:
committed by
Bastian Köcher
parent
2cb4e8db4d
commit
fb1eb9d9e4
@@ -103,7 +103,6 @@ impl Serializer for ToSendSerializer {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[cfg(feature = "nested-values")]
|
||||
fn emit_serde(&mut self, key: Key, value: &slog::SerdeValue) -> slog::Result {
|
||||
let val = value.to_sendable();
|
||||
take(&mut self.kv, |kv| Box::new((kv, SingleKV(key, val))));
|
||||
@@ -153,4 +152,4 @@ impl AsyncRecord {
|
||||
BorrowedKV(&self.kv),
|
||||
), &self.logger_values)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user