Steps to replicate the issue (include links if applicable):
- Go to any query like https://quarry.wmcloud.org/query/82813
- Submit it, get Query status: queued
- click on Stop Query
- POST request to /api/query/stop with payload query_database=itwikivoyage_p&qrun_id=861907
What happens?:
I got <html>
<head> <title>Internal Server Error</title> </head> <body> <h1><p>Internal Server Error</p></h1> </body>
</html>
What should have happened instead?:
the query should stop