]> git.hungrycats.org Git - bees/commitdiff
scan-next: get rid of silent datacow exceptions
authorZygo Blaxell <bees@furryterror.org>
Sun, 21 Jun 2026 01:43:22 +0000 (21:43 -0400)
committerZygo Blaxell <bees@furryterror.org>
Sat, 5 Sep 2026 04:04:12 +0000 (00:04 -0400)
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
src/bees-scan-next.cc

index 42131d9d5f63eed52b364d33438bcf6434a936f8..e64d77df6635e65657793fa0aec5009b4fb9fdc0 100644 (file)
@@ -2923,11 +2923,9 @@ bool
 scan_next_datacow_compatible(const BeesExtent &a, const BeesExtent &b,
        BeesExtentLayer &layer)
 {
-       try {
-               return a.datacow(layer) == b.datacow(layer);
-       } catch (runtime_error &) {
-               return false;
-       }
+       BEESTRACE("a " << a);
+       BEESTRACE("b " << b);
+       return a.datacow(layer) == b.datacow(layer);
 }
 
 /// Seed the Planner's candidate queue from the hash table.