diff --git a/lib/galaxy/webapps/galaxy/controllers/tool_runner.py b/lib/galaxy/webapps/galaxy/controllers/tool_runner.py index 7c1140eb755..fd47c964a57 100644 --- a/lib/galaxy/webapps/galaxy/controllers/tool_runner.py +++ b/lib/galaxy/webapps/galaxy/controllers/tool_runner.py @@ -61,6 +61,7 @@ class ToolRunner( BaseUIController ): if not tool: log.error( "index called with tool id '%s' but no such tool exists", tool_id ) trans.log_event( "Tool id '%s' does not exist" % tool_id ) + trans.response.status = 404 return "Tool '%s' does not exist, kwd=%s " % ( tool_id, kwd ) if tool.require_login and not trans.user: message = "You must be logged in to use this tool."