From 984bb14351efc139d3a3b7221910beabd96dd6e0 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Wed, 5 Dec 2018 08:29:31 +0100 Subject: [PATCH] fix(strategy): Correct error message --- lib/routes/admin-api/strategy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/admin-api/strategy.js b/lib/routes/admin-api/strategy.js index d2958bb8aa..05b3c0255b 100644 --- a/lib/routes/admin-api/strategy.js +++ b/lib/routes/admin-api/strategy.js @@ -102,7 +102,7 @@ exports.router = function(config) { strategyStore .getStrategy(data.name) .then(() => - reject(new NameExistsError('Feature name already exist')) + reject(new NameExistsError('Strategy already exist!')) ) .catch(() => resolve(data)); });