From 42b90a1587e67322b16de73c6616fe383d5e0943 Mon Sep 17 00:00:00 2001 From: oleg Date: Sat, 12 Mar 2016 22:57:18 +0300 Subject: [PATCH] update node name already used error message --- lib/distributor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/distributor.js b/lib/distributor.js index 7aad53d..df5d8ec 100644 --- a/lib/distributor.js +++ b/lib/distributor.js @@ -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;