[Rt-commit] r13089 - rt/branches/3.8-TESTING/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Mon Jun 9 18:09:05 EDT 2008
Author: ruz
Date: Mon Jun 9 18:09:04 2008
New Revision: 13089
Modified:
rt/branches/3.8-TESTING/lib/RT/Handle.pm
Log:
* report error only when there is one
Modified: rt/branches/3.8-TESTING/lib/RT/Handle.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Handle.pm (original)
+++ rt/branches/3.8-TESTING/lib/RT/Handle.pm Mon Jun 9 18:09:04 2008
@@ -970,7 +970,8 @@
for ( @Final ) {
local $@;
eval { $_->(); };
- $RT::Logger->error( "Failed to run one of final actions: $@" );
+ $RT::Logger->error( "Failed to run one of final actions: $@" )
+ if $@;
}
$RT::Logger->debug("done.");
}
More information about the Rt-commit
mailing list