From f363d77cb717ff484ebf8cb28f2d705374b25e52 Mon Sep 17 00:00:00 2001 From: yuri Date: Thu, 6 Aug 2015 17:21:40 +0300 Subject: [PATCH] max size error message --- application/Espo/Core/Controllers/Record.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Espo/Core/Controllers/Record.php b/application/Espo/Core/Controllers/Record.php index 8e05e8dae2..7d1f56e6bd 100644 --- a/application/Espo/Core/Controllers/Record.php +++ b/application/Espo/Core/Controllers/Record.php @@ -129,7 +129,7 @@ class Record extends Base $maxSize = self::MAX_SIZE_LIMIT; } if (!empty($maxSize) && $maxSize > self::MAX_SIZE_LIMIT) { - throw new Forbidden(); + throw new Forbidden("Max should should not exceed " . self::MAX_SIZE_LIMIT . ". Use pagination (offset, limit)."); } $result = $this->getRecordService()->findEntities(array(