elastic / kibana

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

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

Open mykolaharmash opened 7 months ago

mykolaharmash commented 7 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 5 months ago

Moving back to backlog for now.

roshan-elastic commented 1 month 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?