Page MenuHomePhabricator

Quarry returns 500 rather than 404 when asked for an invalid query ID
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

visit https://quarry.wmcloud.org/query/999999

What happens?:

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

What should have happened instead?:

Some kind of 404 page about how there's no such query.

Related Objects

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Andrew renamed this task from Quarry returns 500 rather than 404 when asked for an invalid quarry ID to Quarry returns 500 rather than 404 when asked for an invalid query ID.Sep 13 2021, 7:00 PM

Change 791606 had a related patch set uploaded (by Vivian Rook; author: Vivian Rook):

[analytics/quarry/web@master] Return 404 on query ids that do not exist

https://gerrit.wikimedia.org/r/791606

Change 791606 merged by jenkins-bot:

[analytics/quarry/web@master] Return 404 on query ids that do not exist

https://gerrit.wikimedia.org/r/791606