Merge branch 'master' of git.freeside.biz:/home/git/freeside
authorIvan Kohler <ivan@freeside.biz>
Wed, 1 Feb 2017 02:05:11 +0000 (18:05 -0800)
committerIvan Kohler <ivan@freeside.biz>
Wed, 1 Feb 2017 02:05:11 +0000 (18:05 -0800)
FS/FS/cust_main.pm

index 9a300cd..90256bd 100644 (file)
@@ -5426,7 +5426,7 @@ sub queueable_upgrade {
         local($import) = 1;#prevent automatic geocoding (need its own variable?)
 
         my $error = $record->replace;
-        die $error if $error;
+        die "Error replacing $table ".$record->get($record->primary_key).": $error" if $error;
       }
     }