try {} catch ( Exception $e ) in WordPress plugins
-
I’ve installed a plugin that is catching exceptions with try {} catch ( Exception $e ) {}.
Even if the debug log is turned on the exceptions are not being logged in debug.log. But New Relic is giving me tons of error warnings because of the exceptions thrown by the plugin.
Is using try {} catch ( Exception $e ) standard practice for WordPress plugins? How should exceptions be logged?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘try {} catch ( Exception $e ) in WordPress plugins’ is closed to new replies.