[freeside-commits] branch master updated. a6c5bd2d56ad177a8f79ac0aa5c88b389513dc82

Jonathan Prykop jonathan at 420.am
Mon Jan 30 14:32:14 PST 2017


The branch, master has been updated
       via  a6c5bd2d56ad177a8f79ac0aa5c88b389513dc82 (commit)
      from  ea1f12bb5c5764f784e884fa8d7c37e5cd0b28e0 (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 a6c5bd2d56ad177a8f79ac0aa5c88b389513dc82
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 9a300cd..90256bd 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;
       }
     }
 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_main.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list