[wp-trac] [WordPress Trac] #60915: WP 6.5 - RecursiveDirectoryIterator causing E_WARNING errors in New Relic
WordPress Trac
noreply at wordpress.org
Tue Apr 9 01:28:16 UTC 2024
#60915: WP 6.5 - RecursiveDirectoryIterator causing E_WARNING errors in New Relic
------------------------------------------------+--------------------------
Reporter: iCaleb | Owner: joemcgill
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.5.1
Component: General | Version: 6.5
Severity: trivial | Resolution: fixed
Keywords: has-patch fixed-major dev-reviewed | Focuses: performance
------------------------------------------------+--------------------------
Comment (by joemcgill):
Thanks @mboynes!
It really does seem like an NR issue that is causing these caught
exceptions to still show up in reports. It's easy enough for us to avoid
in this case, but I would expect there to be other occasions where we
might want to avoid unnecessary file checks and instead attempt to read a
file inside a try/catch block like this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60915#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list