From bed0db40d7ef9632e01bb048d3df22f007fa4525 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 16 Nov 2021 14:55:37 +0000 Subject: [PATCH] mark invalid url as user error --- core/event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/event.php b/core/event.php index 7a563fff..23073090 100644 --- a/core/event.php +++ b/core/event.php @@ -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}"); } }