[freeside-commits] branch master updated. 2b2dd969f3c18751afc583ad1e836ab8e6f73b5d
Ivan
ivan at 420.am
Tue Oct 13 10:10:48 PDT 2015
The branch, master has been updated
via 2b2dd969f3c18751afc583ad1e836ab8e6f73b5d (commit)
via d31d59c63c8f4dfd52ca19a02ffcf32fcf49f497 (commit)
from cd468ecb9a321ca96254b7204f6dc193b11cd903 (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 2b2dd969f3c18751afc583ad1e836ab8e6f73b5d
Merge: d31d59c cd468ec
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Oct 13 10:10:40 2015 -0700
Merge branch 'master' of git.freeside.biz:/home/git/freeside
commit d31d59c63c8f4dfd52ca19a02ffcf32fcf49f497
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Oct 13 10:10:25 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