RT#18834 Cacti integration [phase one, simple but stable]
[freeside.git] / bin / artera.import
index 41cbe4b..716ddda 100644 (file)
@@ -59,10 +59,11 @@ while (<>) {
   #my $error = $svc_external->check;
   my $error = $svc_external->insert;
   if ( $cust_svc && $error =~ /^Already/ ) {
+    warn $error;
     $svc_external->pkgnum('');
     $error = $svc_external->insert;
   }
-  die $error if $error;
+  warn $error if $error;
 
   $num++;
   $linked++ if $cust_svc;