mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 05:09:06 +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
|
// in CLI we cant use httpError because of a bug with stuff being in the output already, see DevAdminControllerTest
|
||||||
throw new Exception($msg);
|
throw new Exception($msg);
|
||||||
} else {
|
} else {
|
||||||
$this->httpError(500, $msg);
|
$this->httpError(404, $msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user