New Release v4.7.6 - Added support for logging Apex errors in LWC/Aura #324
jongpie
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Resolved #299 (requested by @arbokrad) for LWC & Aura logging by updating the JavaScript function
setError()
inlogEntryBuilder.js
to support logging both JavaScript errors and Apex controller errors:This makes it easy for JS developers to pass either type of error, and Nebula Logger handles parsing the error data as needed. Below is a screenshot of the result of the new functionality of logging an Apex error - the green box shows that the
LogEntry__c
originated from an LWC, but the red box shows that the error logged by the LWC was an Apex errorThis discussion was created from the release Added support for logging Apex errors in LWC/Aura.
Beta Was this translation helpful? Give feedback.
All reactions