mark invalid url as user error
This commit is contained in:
parent
68a128c0ea
commit
bed0db40d7
@ -101,7 +101,7 @@ class PageRequestEvent extends Event
|
|||||||
return $this->args[$offset];
|
return $this->args[$offset];
|
||||||
} else {
|
} else {
|
||||||
$nm1 = $this->arg_count - 1;
|
$nm1 = $this->arg_count - 1;
|
||||||
throw new SCoreException("Requested an invalid page argument {$offset} / {$nm1}");
|
throw new UserErrorException("Requested an invalid page argument {$offset} / {$nm1}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user