projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
61dafd2
)
at least warn
author
Ivan Kohler
<ivan@freeside.biz>
Tue, 13 Oct 2015 17:10:25 +0000
(10:10 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Tue, 13 Oct 2015 17:10:25 +0000
(10:10 -0700)
FS/FS/Misc.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Misc.pm
b/FS/FS/Misc.pm
index
e1f654c
..
cbf4495
100644
(file)
--- 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;