From c0db9215ecf86f77c23f3aec5a874df21141660e Mon Sep 17 00:00:00 2001 From: Amanda McCann Date: Fri, 20 Mar 2026 14:00:10 +0100 Subject: [PATCH] Return status code 500 (instead of 200) when there's a run time error HTTP 200 is for when there is no problem. --- src/overpass_api/frontend/web_output.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overpass_api/frontend/web_output.cc b/src/overpass_api/frontend/web_output.cc index 684cddf54..0bb73859a 100644 --- a/src/overpass_api/frontend/web_output.cc +++ b/src/overpass_api/frontend/web_output.cc @@ -102,7 +102,7 @@ void Web_Output::runtime_error(const std::string& error) { std::ostringstream out; out<<"runtime error: "<