consul
consul copied to clipboard
ui: Additionally use message for displaying errors in DataWriter
Description
Follow on from https://github.com/hashicorp/consul/pull/14025, this change kinda got lost in the conversation so added as a separate PR.
If so, I guess I can add a check for error.message here also
https://github.com/hashicorp/consul/pull/14025#discussion_r939967248
Please note, this is not necessary for any upcoming release and shouldn't be a blocker for anything.
PR Checklist
- [ ] updated test coverage
- [ ] external facing docs updated
- [x] not a security concern