summaryrefslogtreecommitdiff
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:31:46 -0600
commita6c5bd2d56ad177a8f79ac0aa5c88b389513dc82 (patch)
tree4ab92a0b2594cc0f5326c8628c79d3689c17c946
parentea1f12bb5c5764f784e884fa8d7c37e5cd0b28e0 (diff)
74355: freeside-upgrade error N/A (tokenized) [better error handling for encryption upgrade failures]
-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 9a300cdc9..90256bd81 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -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;
}
}