Changeset 12398


Ignore:
Timestamp:
08/30/10 02:38:23 (18 months ago)
Author:
adamk
Message:

Added tracing to Padre::Locker specifically to report on exceptions that are thrown (and ignored) during method_decrement post-lock behaviours

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Locker.pm

    r12251 r12398  
    1414use Padre::Lock (); 
    1515use Padre::DB   (); 
     16use Padre::Logger; 
    1617 
    1718our $VERSION = '0.69'; 
     
    218219            # as a whole. 
    219220            local $@; 
    220             eval { $self->{owner}->$_(); }; 
     221            eval { 
     222                $self->{owner}->$_(); 
     223            }; 
     224            if ( DEBUG and $@ ) { 
     225                TRACE("ERROR: '$@'"); 
     226            } 
    221227        } 
    222228        $self->{method_pending} = {}; 
Note: See TracChangeset for help on using the changeset viewer.