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:42:22 +0000 (16:42 -0600)
FS/FS/cust_main.pm

index ddddb24..72bc10f 100644 (file)
@@ -5795,7 +5795,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;
       }
     }