Graylog2 / Graylog2/graylog2-server

Handle invalid arguments better for paginated searches

Open
#10,725 0 comments 0 reactions 0 assignees View on GitHub
feature triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## What?
When providing a invalid id to the search form of a overview page (e.g `id:not-an-id` or `count:not-a-number`) the user will see a notification with an 400 error invalid argument. We should catch that error and display a clearer message that the input cannot be parsed or understood.

## Why?
Right now it seems to the user that he encountered a bug, since no error handling took place.

## Your Environment
* Graylog Version: 4.0 and up

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.