Logging from auth provider class in Experience Cloud throws an error #224
Labels
Layer: Logger Engine
Items related to the core logging engine
Salesforce Feature: Experience Cloud
Items related to using Logger within Experience Cloud
Type: Bug
Something isn't working
Milestone
Discussed in #209
Originally posted by taits September 20, 2021
Wondering if logging from Apex executed with an Experience Cloud guest user should work? Any specific permissions need to be added to the Sites Guest user Profile?
Seeing a Salesforce System Error on line 2656 of Logger.apxc
String transactionId = System.Request.getCurrent().getRequestId();
The issue seems to be caused by trying to access
System.Request.getCurrent()
- it throws a gack error, and it doesn't seem like the exception can get caught/easily handled.System.UnexpectedException: Salesforce System Error: 1673516240-331008 (-334555042) (-334555042)
The text was updated successfully, but these errors were encountered: