Currently _all_ exceptions show up as NoticedError in error analytics. This mans you kinda have to parse through the messages and hope things align to get useful trends or meaning. But with a small change to newrelic and a small change to core this doesn't have to be the case. Event better, we can support this today without much hassle and support it for contrib and custom code until accepts these changes:
https://www.drupal.org/node/2932520

The key benefits are better grouping:

And real stack stack traces, not the trace of the error handler:

Comments

neclimdul created an issue. See original summary.

andypost’s picture

Status: Active » Needs review

Looks great to go

neclimdul’s picture

StatusFileSize
new3.79 KB
new2.16 KB

Bah, didn't think about tests. This fixes the old tests since they assert the exact method call and the new null argument being sent doesn't match.

Also adds a test because... why not?

andypost’s picture

Status: Needs review » Reviewed & tested by the community

Great

nterbogt’s picture

Are we happy to wait on this for a 1.1 release? I would like to get through the Security Support process, and we can't do that without a release with no issues sitting there for a couple of weeks.

nterbogt’s picture

Do you also need to update the NullAdapter to match the interface definition?

Chris Charlton’s picture

  • nterbogt committed 384c960 on 8.x-1.x authored by neclimdul
    Issue #3094508 by neclimdul: Support passing exceptions to error logger
    
  • nterbogt committed 83e09d8 on 8.x-1.x
    Issue #3094508 by neclimdul: Support passing exceptions to error logger...
nterbogt’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.