mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
parent
e2c8c80f02
commit
f83691e7f7
@ -132,7 +132,7 @@ class DevelopmentAdmin extends Controller
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user