elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.63k stars 8.22k forks source link

[Infra] Unify routes error handling on the BE #176993

Open mykolaharmash opened 9 months ago

mykolaharmash commented 9 months ago

Some Infra routes have error handling logic "built-in" (e.g. infra), some use a wrapper helper function (e.g. custom_dashboards), and some don't have error handling at all (e.g. inventory_metadata).

Would be good to have a centralized error handling on a framework level, for example inside the registerRoute function.

smith commented 7 months ago

Moving back to backlog for now.

roshan-elastic commented 2 months ago

Thanks for this, I've reviewed this but in order to prioritise, more info needed in order to understand user value for this.

Are you able to summarise what this value this brings to the user?