diff options
Diffstat (limited to 'src/protocol.rs')
-rw-r--r-- | src/protocol.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol.rs b/src/protocol.rs index 0e1a449..a52c377 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -449,7 +449,7 @@ impl DatConnection { .copy_from_slice(&make_discovery_key(data_key)[0..32]); return Ok(()); } else { - unimplemented!("non-hyperdrive Index type: {}", index_msg.get_field_type()); + bail!("non-hyperdrive Index type: {}", index_msg.get_field_type()); } } } else { |