- Timestamp:
- Aug 16, 2017, 12:53:41 PM (7 years ago)
- Branches:
- master
- Children:
- 5093c6f
- Parents:
- ff528e6
- git-author:
- Jason Gross <jgross@mit.edu> (07/12/11 15:23:27)
- git-committer:
- Jason Gross <jasongross9@gmail.com> (08/16/17 12:53:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl/Message.pm
reea7bed4 r9bfab40 210 210 sub log_base_path { 211 211 return BarnOwl::getvar('logpath'); 212 } 213 214 =head2 log_outgoing_error MESSAGE 215 216 Returns the string that should be logged if there is an error sending 217 an outgoing message. 218 219 =cut 220 221 sub log_outgoing_error { 222 my ($m) = @_; 223 my $recipient = $m->pretty_recipient; 224 my $body = $m->body; 225 chomp $body; 226 return "ERROR (BarnOwl): $recipient\n$body\n\n"; 212 227 } 213 228
Note: See TracChangeset
for help on using the changeset viewer.