On 3/21/2011 2:47 PM, Octavian Rasnita orasnita-at-gmail.com |Catalyst/Allow to home| wrote:
If you use that key, the module won't report the error. If you don't use it and there will appear some errors, it will generate a detailed error. The error is generated by Email::Sender::Simple directly. It will be something like "unable to establish SMTP connection" plus ~ 1 kB of error trace.
I found it; thanks. I started a discussion on PerlMonks because $@ was empty, even though letting the program die instead showed all the error info. You must use Try::Tiny to try/catch around it.
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
