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:42:22 -0600
commit5a72115c1e8d32028cb4e611ecfbd4b2c05817d6 (patch)
tree7954a4109be9045948f947d2afe59a57016a26d7
parent5b1a45b996760ef7ae328674f85dd00e3f0adb07 (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 ddddb24d1..72bc10fdb 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -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;
}
}