diff --git a/src/Dev/DevelopmentAdmin.php b/src/Dev/DevelopmentAdmin.php index 267d3386ae1..734e980cea2 100644 --- a/src/Dev/DevelopmentAdmin.php +++ b/src/Dev/DevelopmentAdmin.php @@ -132,7 +132,7 @@ public function runRegisteredController(HTTPRequest $request) // in CLI we cant use httpError because of a bug with stuff being in the output already, see DevAdminControllerTest throw new Exception($msg); } else { - $this->httpError(500, $msg); + $this->httpError(404, $msg); } }