From f944575784b7fcc45b3fd42e4e20cbdb72fb95ac Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 26 Jul 2025 08:40:14 +0300 Subject: [PATCH] add assertion check --- src/profile/proxy/misc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/profile/proxy/misc.rs b/src/profile/proxy/misc.rs index 209fc433..3aed0a0f 100644 --- a/src/profile/proxy/misc.rs +++ b/src/profile/proxy/misc.rs @@ -30,7 +30,7 @@ impl Misc { // update values from the DB (if exists) for row in rows { - m.insert(Memory::from_db_row(&row.key, row.value).unwrap()); + assert!(!m.insert(Memory::from_db_row(&row.key, row.value).unwrap())); // * panics if the DB was malformed or changed unexpectedly } }