diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2017-01-30 16:31:46 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2017-01-30 16:33:59 -0600 |
commit | e50c164d1d56ceb159969b8684ea000f3807f784 (patch) | |
tree | 0700b70853aa5e2dd259c2c6e26b54e03ca36026 /FS/FS/cust_main.pm | |
parent | bff786b8153d8df1bfed4e4257f1345760150b7f (diff) |
74355: freeside-upgrade error N/A (tokenized) [better error handling for encryption upgrade failures]
Diffstat (limited to 'FS/FS/cust_main.pm')
-rw-r--r-- | FS/FS/cust_main.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 74b5c51..7505969 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -5847,7 +5847,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; } } |