protocol/wire: Log before panicking serialize
3 files changed
+28
-6
a670b6e6
→
a8a38b91
modified crates/radicle-protocol/Cargo.toml
@@ -17,7 +17,7 @@ bytes = { workspace = true }
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/wire.rs
@@ -7,6 +7,7 @@ pub use message::{AddressType, MessageType};
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -106,10 +107,31 @@ pub trait Decode: Sized {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/wire/frame.rs
@@ -234,7 +234,7 @@ impl<M> Frame<M> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -356,7 +356,7 @@ impl<M: wire::Decode> wire::Decode for Frame<M> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|