[freeside-commits] branch FREESIDE_4_BRANCH updated. e50c164d1d56ceb159969b8684ea000f3807f784
Jonathan Prykop
jonathan at 420.am
Mon Jan 30 14:40:31 PST 2017
The branch, FREESIDE_4_BRANCH has been updated
via e50c164d1d56ceb159969b8684ea000f3807f784 (commit)
from bff786b8153d8df1bfed4e4257f1345760150b7f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e50c164d1d56ceb159969b8684ea000f3807f784
Author: Jonathan Prykop <jonathan at freeside.biz>
Date: Mon Jan 30 16:31:46 2017 -0600
74355: freeside-upgrade error N/A (tokenized) [better error handling for encryption upgrade failures]
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;
}
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_main.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list