[Rt-commit] r4961 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Tue Apr 4 13:54:06 EDT 2006


Author: ruz
Date: Tue Apr  4 13:54:05 2006
New Revision: 4961

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTransactionAttachments

Log:
 r2302 at cubic-pc:  cubic | 2006-04-04 21:15:41 +0400
 * dump at least warning when Text::Quoted dies


Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTransactionAttachments
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTransactionAttachments	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTransactionAttachments	Tue Apr  4 13:54:05 2006
@@ -115,7 +115,7 @@
             elsif ( $message->ContentType =~ m{^(text|message)}i ) {
 
                 eval { $content = Text::Quoted::extract($content); };
-                if ($@) { 1; }
+                if ($@) { $RT::Logger->warning( "Text::Quoted failed: $@" ) }
 
                 $m->comp(
                     'ShowMessageStanza',


More information about the Rt-commit mailing list