diff --git a/includes/class/Zone.php b/includes/class/Zone.php index d63ca21..ffc5588 100644 --- a/includes/class/Zone.php +++ b/includes/class/Zone.php @@ -240,7 +240,7 @@ class RRSet { public function addRecord($content, $disabled = FALSE, $setptr = FALSE) { foreach ($this->records as $record) { if ($record->content == $content) { - throw Exception("Record already exists"); + throw new Exception($this->name."/".$this->type." has duplicate records."); } }