1

Other than the official documentation and related SFSE questions indicate the Error reporting of Second Generation Managed Packages (2GP) seems to behave differently that with 1GP.

I want to make this tool work with 2GP Managed Packages: https://github.com/rsoesemann/lma-app-cockpit but couldn't get a 2GP Managed Package that was created using the errornotificationusername parameter to send notification emails on Unhandled Apex Errors.

Is this supposed to work or did I discover a bug?

2
  • 2
    Is there a question in here somewhere, or just info sharing? Did you raise a support case with Salesforce?
    – Phil W
    Mar 1 at 16:46
  • 1
    You are right. Added a question if this is a bug or supposed to work. I will also create a support case and put the Id here later. Mar 1 at 17:12

1 Answer 1

-1

Apex Error Email for Unlocked Packages were introduced in Winter 21

https://help.salesforce.com/s/articleView?id=release-notes.rn_sfdx_packaging_set_error_notification.htm&type=5&release=228

Hence they should be supported. The CLI docs and release notes mention that an active devhub user must be designated but don't mention if all devhub orgs support these emails.

1
  • Exactelly that is the documentation I also mention in my question. Should work for Unlocked and Managed 2GP. Mar 3 at 9:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.