dunno how this happened, but this shouldn't be fatal
authorIvan Kohler <ivan@freeside.biz>
Wed, 8 Aug 2012 08:30:22 +0000 (01:30 -0700)
committerIvan Kohler <ivan@freeside.biz>
Wed, 8 Aug 2012 08:30:22 +0000 (01:30 -0700)
FS/FS/access_right.pm

index dc9f997..22fe94d 100644 (file)
@@ -265,7 +265,7 @@ sub _upgrade_data { # class method
           'rightname'   => 'Download report data',
       } );
       my $error = $access_right->insert;
-      die $error if $error;
+      warn $error if $error;
     }
 
     FS::upgrade_journal->set_done('ACL_download_report_data');