Skip to content

Error handling in elastic_get_version() #270

Closed
@simon987

Description

@simon987

If permissions are lacking to get the ES / endpoint, there is a segmentation fault, the error should be handled and maybe fallback to an assumed working version and print a warning in the console.

example:
action [cluster:monitor/main] is unauthorized for user [...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwebWeb module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions