]> git.donarmstrong.com Git - debbugs.git/commitdiff
Fix test failure in Debbugs::Package master
authorDon Armstrong <don@donarmstrong.com>
Wed, 3 Sep 2025 21:41:59 +0000 (14:41 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 3 Sep 2025 21:44:07 +0000 (14:44 -0700)
lib/Debbugs/Package.pm

index dbead3a3a0b168bdf5867adeabacb44cc567b780..0cbf3ea7e17701dcde2db5ad6b9c97c54b11e255 100644 (file)
@@ -25,6 +25,7 @@ use Mouse;
 use strictures 2;
 use v5.10; # for state
 use namespace::autoclean;
+use Carp qw(carp);
 
 use List::AllUtils  qw(uniq pairmap);
 use Debbugs::Config qw(:config);
@@ -193,7 +194,8 @@ sub _get_valid_version_info_from_db {
     }
     if (not defined $s) {
         # FIXME: Implement equivalent loader when there isn't a schema
-       confess("get_info_from_db not implemented without schema");
+       carp("get_info_from_db not implemented without schema");
+        return {}
     }
     my %src_packages;
     my %src_ver_packages;