better debugging for missing recur_fee so its easier to check the db
authorivan <ivan>
Thu, 10 Aug 2006 02:27:35 +0000 (02:27 +0000)
committerivan <ivan>
Thu, 10 Aug 2006 02:27:35 +0000 (02:27 +0000)
FS/FS/part_pkg.pm

index aa39d89..9de27f8 100644 (file)
@@ -687,7 +687,8 @@ sub option {
   my %plandata = map { /^(\w+)=(.*)$/; ( $1 => $2 ); }
                      split("\n", $self->get('plandata') );
   return $plandata{$opt} if exists $plandata{$opt};
-  cluck "Package definition option $opt not found in options or plandata!\n"
+  cluck "WARNING: (pkgpart ". $self->pkgpart. ") Package def option $opt".
+        "not found in options or plandata!\n"
     unless $ornull;
   '';
 }