NebulaLogger icon indicating copy to clipboard operation
NebulaLogger copied to clipboard

Merge Async Failure Additions plugin into core package

Open jongpie opened this issue 2 years ago • 4 comments

@jamessimone I'd love to know your thoughts on this one - I'd like to merge your Async Failure Additions plugin into the core package so that out of the box, Nebula Logger...

  • Automatically handles logging all BatchApexErrorEvent records
  • Automatically handles logging all FlowExecutionErrorEvent records
  • Provides a ready-to-use implementation for System.Finalizer

I think that'd be really convenient for every org to just automatically have that functionality without needing to install an extra package. Any concerns with deprecating the plugin package & moving the metadata into core?

jongpie avatar Mar 31 '23 16:03 jongpie

The only concern I have is if existing implementations already have a BatchApexErrorEvent handler - I guess since this is feature-flagged, as is, it should be fine!

jamessimone avatar Mar 31 '23 20:03 jamessimone

Yeah, that concern makes sense, maybe the config should be disabled by default? I'll try to tinker with this idea more in the coming weeks

jongpie avatar Mar 31 '23 23:03 jongpie