AEMaaCS - Error Handling using the acs-aem-commons package
Hi everyone,
I'm wondering if anyone has run into the Adobe 500 error page (aka error page of death), even when the ACS Commons error handler is enabled in AEM as a Cloud Service. According to the docs on the ACS Commons page - see table of incompatible ACS Commons items on https://adobe-consulting-services.github.io/acs-aem-commons/pages/compatibility.html#aem-as-a-cloud-service-feature-incompatibility - error handling should work properly in AEMaaCS. Additionally, it's working for us for 404s. However, unfortunately, if one of our components throws a 500 error, we get the Adobe error page instead of our custom error page. Obviously we should be catching these errors, but we want to make sure that we're serving client-specific error pages if anything unexpected happens. Here's what the Adobe 500 error page looks like, which seems to supersede the ACS Commons handling of 500 errors:

I'm just wondering why it's not possible to redirect these 500 errors to our error page. According to Experience League documentation, the recommendation is to create handlers - see https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/developing/full-stack/custom-error-page.html?lang=en The problem is that this doesn't allow us to have custom authored error pages, and is not desirable.
Has anyone run into this, and figured out how to get it to work properly?
Thanks in advance!
Evan