mark invalid url as user error
This commit is contained in:
parent
68a128c0ea
commit
bed0db40d7
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class PageRequestEvent extends Event
|
|||
return $this->args[$offset];
|
||||
} else {
|
||||
$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}");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue