Skip to content

Provide meaningful error message when URL is invalid #19

Description

@eculver

If users configure the URL incorrectly, messages like the following will emerge:

Unable to publish dashboard
{ error: 'RemoteTransportException[[myhost.dc][inet[/173.3.2.1:9300]][indices:data/write/index]]; nested: MapperParsingException[failed to parse [dashboard]]; nested: ElasticsearchIllegalArgumentException[unknown property [id]]; ',
  status: 400 }
Got statusCode400

The app should translate this into something meaningful to the user so that it's obvious what the problem is and how to fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions