mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-10 20:55:07 +00:00
update node name already used error message
This commit is contained in:
parent
84747099b6
commit
42b90a1587
@ -44,7 +44,7 @@ Distributor.prototype.init = function() {
|
||||
}
|
||||
|
||||
if (namesHash[nodeParams.name]) {
|
||||
throw new Error('Node name `' + nodeParams.name + ' already used');
|
||||
throw new Error('Node name `' + nodeParams.name + '` already used');
|
||||
}
|
||||
namesHash[nodeParams.name] = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user