summaryrefslogtreecommitdiff
path: root/FS/FS/cust_main.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2017-01-30 16:31:46 -0600
committerJonathan Prykop <jonathan@freeside.biz>2017-01-30 16:33:59 -0600
commite50c164d1d56ceb159969b8684ea000f3807f784 (patch)
tree0700b70853aa5e2dd259c2c6e26b54e03ca36026 /FS/FS/cust_main.pm
parentbff786b8153d8df1bfed4e4257f1345760150b7f (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.pm2
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;
}
}