opencomponents / oc

OpenComponents, serverless in the front-end world for painless micro-frontends delivery
https://opencomponents.github.io/
MIT License
1.42k stars 122 forks source link

send data-provider-error event #1337

Closed ricardo-devis-agullo closed 1 year ago

ricardo-devis-agullo commented 1 year ago

Sometimes it's useful being able to track when your components fail and how, specially when doing changes in the registry that might affect the components. Right now the only thing that can be tracked outside are the requests, but that only gets you the status, not the error.

This adds error events for failure on component data provider calls, so they can be retreived and sent to logs.