diff --git a/src/Security/PermissionSet/Exception/PermissionSetNotFoundException.php b/src/Security/PermissionSet/Exception/PermissionSetNotFoundException.php index 83678a44c1..b14e4d8320 100644 --- a/src/Security/PermissionSet/Exception/PermissionSetNotFoundException.php +++ b/src/Security/PermissionSet/Exception/PermissionSetNotFoundException.php @@ -8,6 +8,6 @@ class PermissionSetNotFoundException extends \RuntimeException { public function __construct($message = '', Exception $previous = null) { - parent::__construct($message, 500, $previous); + parent::__construct($message, 404, $previous); } }