Retry Plugin - Return information about the real error #3633
felipeloge
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all,
I've implemented the new retry plugin as a resource to reduce the errors to load the remoteEntry or another script file.
https://module-federation.io/plugin/plugins/retry-plugin.html
This plugin reduced significantly the loading errors after monitoring it using Sentry.
However, I'm still having some errors related to that and not sure what's the cause. So my suggestion here, is about returning more details about the real error, such as status code, error message, etc.
For example, this is the error captured by Sentry through the Module Federation:
https://module-federation.io/guide/troubleshooting/runtime/runtime-008
And I don't have an exactly cause of the fail to load the script. There isn't a status code or real message...
The following screenshot is an example of the real error that's the cause why the script might fail to be loaded:

So is that possible to implement more details about the cause of the runtime errors?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions