[freeside-commits] freeside/FS/FS Misc.pm,1.36,1.37
Ivan,,,
ivan at wavetail.420.am
Mon May 24 23:04:14 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv11534
Modified Files:
Misc.pm
Log Message:
prevent "Can't locate object method "code" via package "HTML::Mason::Exception" errors
Index: Misc.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Misc.pm,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -w -d -r1.36 -r1.37
--- Misc.pm 31 Mar 2010 06:30:35 -0000 1.36
+++ Misc.pm 25 May 2010 06:04:12 -0000 1.37
@@ -355,7 +355,8 @@
}
eval { sendmail($message, { transport => $transport }); };
- ref($@) ? ( $@->code ? $@->code.' ' : '' ). $@->message
+ ref($@) eq 'Email::Sender::Failure'
+ ? ( $@->code ? $@->code.' ' : '' ). $@->message
: $@;
}
More information about the freeside-commits
mailing list