[freeside-commits] branch FREESIDE_4_BRANCH updated. 8f086c4f68684d696ab64ccfab797272111d3ce4

Ivan ivan at 420.am
Tue Oct 13 10:09:54 PDT 2015


The branch, FREESIDE_4_BRANCH has been updated
       via  8f086c4f68684d696ab64ccfab797272111d3ce4 (commit)
      from  5ce58321ab8580a4280d2d1af9d3d049c27ed3bd (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 8f086c4f68684d696ab64ccfab797272111d3ce4
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Oct 13 10:09:46 2015 -0700

    at least warn

diff --git a/FS/FS/Misc.pm b/FS/FS/Misc.pm
index e1f654c..cbf4495 100644
--- a/FS/FS/Misc.pm
+++ b/FS/FS/Misc.pm
@@ -284,7 +284,8 @@ sub send_email {
         'status'    => ($error ? 'failed' : 'sent'),
         'msgtype'   => $options{'msgtype'},
     });
-    $cust_msg->insert; # ignore errors
+    my $log_error = $cust_msg->insert;
+    warn "Error logging message: $log_error\n" if $log_error; # at least warn
   }
   $error;
    

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

Summary of changes:
 FS/FS/Misc.pm |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list