Skip to content

elasticsearch-croneval shouldn't dump a stacktrace for invalid patterns #49642

@pugnascotia

Description

@pugnascotia
Contributor

Elasticsearch version

7.4.2, master

Description of the problem including expected versus actual behavior:

When elasticsearch-croneval is run with a malformed cron pattern, it dumps a stacktrace to the terminal.

The tool ought to simply report that the pattern is malformed and either direct the user to the documentation or print a brief summary of the expected input (I'd vote for the latter).

Steps to reproduce:

  1. `bin/elasticsearch-croneval "*"

Activity

elasticmachine

elasticmachine commented on Nov 27, 2019

@elasticmachine
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Watcher)

gaobinlong

gaobinlong commented on Jan 10, 2020

@gaobinlong
Contributor

Hi @pugnascotia , this issue can be closed as the related PR #49744 has been merged.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @dakrone@pugnascotia@gaobinlong@elasticmachine

        Issue actions

          elasticsearch-croneval shouldn't dump a stacktrace for invalid patterns · Issue #49642 · elastic/elasticsearch