[wp-trac] [WordPress Trac] #24780: Use error handlers rather than the error suppression operator

WordPress Trac noreply at wordpress.org
Wed Jul 17 10:38:16 UTC 2013


#24780: Use error handlers rather than the error suppression operator
--------------------------+-----------------------------
 Reporter:  rmccue        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Filesystem    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------

Comment (by mark-k):

 In what way an error handler is better? If I feel that something funny is
 going on I just look at the error log file. How will having an error
 handler improve anything?

 +1 to getting rid of all suppression and trying to actually handle all
 exceptions (even if by just emitting an error under WP_DEBUG) but I don't
 think this is the way to get there.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24780#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list