74355: freeside-upgrade error N/A (tokenized) [better error handling for encryption...
authorJonathan Prykop <jonathan@freeside.biz>
Mon, 30 Jan 2017 22:31:46 +0000 (16:31 -0600)
committerJonathan Prykop <jonathan@freeside.biz>
Mon, 30 Jan 2017 22:31:46 +0000 (16:31 -0600)
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;
       }
     }