diff --git a/system/db/eloquent.php b/system/db/eloquent.php index a2273afe..d4a1a64f 100644 --- a/system/db/eloquent.php +++ b/system/db/eloquent.php @@ -194,7 +194,7 @@ abstract class Eloquent { { if ( ! property_exists(get_class($this), 'per_page')) { - throw new \Exception("The number of models to display per page has not been specified."); + throw new \Exception("The number of models to display per page for model [".get_class($this)."] has not been specified."); } $per_page = static::$per_page;