[freeside-commits] branch FREESIDE_2_3_BRANCH updated. c1285ea53d5861f8f3dab613a0f1435250376a79

Mark Wells mark at 420.am
Mon Mar 5 11:26:31 PST 2012


The branch, FREESIDE_2_3_BRANCH has been updated
       via  c1285ea53d5861f8f3dab613a0f1435250376a79 (commit)
      from  ab9a9ed2fc6fd48328b7ac8575aa33d8d5c22e89 (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 c1285ea53d5861f8f3dab613a0f1435250376a79
Author: Mark Wells <mark at freeside.biz>
Date:   Mon Mar 5 11:23:10 2012 -0800

    make other errors non-fatal

diff --git a/FS/FS/svc_broadband.pm b/FS/FS/svc_broadband.pm
index 4787cfe..419cbc3 100755
--- a/FS/FS/svc_broadband.pm
+++ b/FS/FS/svc_broadband.pm
@@ -606,8 +606,8 @@ sub _upgrade_data {
       }
 
       $error ||= $self->replace;
-      die "error assigning routernum $routernum to service ".$self->svcnum.
-          ":\n$error\n"
+      warn "WARNING: error assigning routernum $routernum to service ".$self->svcnum.
+          ":\n$error; skipped\n"
         if $error;
     }
     else {

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

Summary of changes:
 FS/FS/svc_broadband.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list