Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve query errors #131

Merged
merged 2 commits into from
Jan 17, 2025
Merged

Improve query errors #131

merged 2 commits into from
Jan 17, 2025

Conversation

sni
Copy link
Contributor

@sni sni commented Jan 15, 2025

No description provided.

sni added 2 commits January 15, 2025 13:19
before:

  error: cannot create filter on table services

after:

  error: error in And header: Cannot combine 2 filters with 'AND': only 1 are on stack
leads to confusing error messages otherwise

ex.: using a filter like:

    Filter: host_name = test
    Filter: non-existing = 1
    And 2

would result in 'Cannot combine 2 filters with 'AND': only 1 are on stack' error because the second filter would had been skipped.
@sni sni merged commit d34a411 into naemon:master Jan 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant