From 3a08b138b02a19bac213f029126ad6dcfef885fc Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sun, 16 Oct 2011 21:35:11 -0500 Subject: [PATCH] changed route __call exception. --- laravel/routing/route.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/laravel/routing/route.php b/laravel/routing/route.php index 7aa31cf3..9aacb580 100644 --- a/laravel/routing/route.php +++ b/laravel/routing/route.php @@ -209,7 +209,8 @@ public function handles($uri) public function __call($method, $parameters) { if (strpos($method, 'is_') === 0) return $this->is(substr($method, 3)); - throw new \Exception('Method "'.$method.'" not found', E_NOTICE); + + throw new \Exception("Call to undefined method [$method] on Route class."); } } \ No newline at end of file