You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include the name of the erroring Pilet with ExtensionErrorInfoProps and PageErrorInfoProps when error info to the SwitchErrorInfo component.
Background
When a Page or Extension error occurs, we would like to log the error so the relevant Pilet team can fix it.
Currently, there doesn't seem to be a way to get the name of the Pilet that caused the error, and I wasn't able to extend this functionality to do so.
Discussion
Examining the source code of the ErrorBoundary component (src/framework/piral-core/src/components/errorboundary), I can see the name of the Pilet is available, as it is logged to console.
It would be great if that can be included with the props sent to the SwitchErrorInfo component.
The text was updated successfully, but these errors were encountered:
New Feature Proposal
Description
Include the name of the erroring Pilet with ExtensionErrorInfoProps and PageErrorInfoProps when error info to the SwitchErrorInfo component.
Background
When a Page or Extension error occurs, we would like to log the error so the relevant Pilet team can fix it.
Currently, there doesn't seem to be a way to get the name of the Pilet that caused the error, and I wasn't able to extend this functionality to do so.
Discussion
Examining the source code of the ErrorBoundary component (src/framework/piral-core/src/components/errorboundary), I can see the name of the Pilet is available, as it is logged to console.
It would be great if that can be included with the props sent to the SwitchErrorInfo component.
The text was updated successfully, but these errors were encountered: