Changeset cd6521f for perl/lib/BarnOwl/Message.pm
- Timestamp:
- Aug 5, 2017, 11:23:04 PM (7 years ago)
- Children:
- 18c1925
- Parents:
- 7a240b5
- git-author:
- Jason Gross <jgross@mit.edu> (07/12/11 15:23:27)
- git-committer:
- Jason Gross <jgross@mit.edu> (08/05/17 23:23:04)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl/Message.pm
r978a164 rcd6521f 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.