diff --git a/application/Espo/Services/Record.php b/application/Espo/Services/Record.php index cc7f87cda7..888ea7d35e 100644 --- a/application/Espo/Services/Record.php +++ b/application/Espo/Services/Record.php @@ -548,7 +548,7 @@ class Record extends \Espo\Core\Services\Base } if (!$this->checkAssignment($entity)) { - throw new Forbidden(); + throw new Forbidden('Assignment permission failure'); } $this->processDuplicateCheck($entity, $data);