diff --git a/crates/storage/src/storage.rs b/crates/storage/src/storage.rs index 809409fce3..e50b76891e 100644 --- a/crates/storage/src/storage.rs +++ b/crates/storage/src/storage.rs @@ -87,7 +87,8 @@ impl Storage { for prefix in default_prefixes { if !prefixes.contains(&prefix) { - db.put_cf(cf_config, prefix.as_bytes(), b"").unwrap(); + db.put_cf(cf_config, prefix.as_bytes(), b"") + .expect("can write to db"); prefixes.push(prefix); } }