scylladb / argus

Apache License 2.0
4 stars 11 forks source link

fix(frontend): Handle error conditions for retrieving test runs #516

Open k0machi opened 1 day ago

k0machi commented 1 day ago

This commit adds error handling for two endpoints related to fetching test runs. In case of ProfileJobs, it adds a message indicating to the user that something went wrong, instead of showing loading forever.

The other case is specifying invalid id to the /tests/plugin endpoint, in this case, a 404 redirect is generated with an error message.

Fixes #512