mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Fix bug in Exception() and clearify the error message. Closes #100
This commit is contained in:
parent
b04b4dd864
commit
4b5d4b02c9
1 changed files with 1 additions and 1 deletions
|
@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue