Skip to content

Better Geo Node Form Error Messages

Problem

Currently when a Geo Node fails to save/update the error is generic: Screen_Shot_2020-04-03_at_10.43.18_AM

However, the API does return error messages to hint to what went wrong: Screen_Shot_2020-04-03_at_10.43.43_AM

Proposal

Update the catch https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/assets/javascripts/geo_node_form/store/actions.js#L46 to consume the error and present it to the user instead of the generic error message