From aa2722b0a07c78c5ea84f00703a9a28265decd0d Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Fri, 7 Aug 2015 19:28:59 +1000 Subject: [PATCH] These errors shouldn't be logged =) --- plugins/october/demo/components/Todo.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/october/demo/components/Todo.php b/plugins/october/demo/components/Todo.php index 7c3b56b1e..f3cac716e 100644 --- a/plugins/october/demo/components/Todo.php +++ b/plugins/october/demo/components/Todo.php @@ -1,6 +1,7 @@ = $this->property('max')) { - throw new \Exception(sprintf('Sorry only %s items are allowed.', $this->property('max'))); + throw new ApplicationException(sprintf('Sorry only %s items are allowed.', $this->property('max'))); } if (($newItem = post('newItem')) != '') {