1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix(strategy): Correct error message

This commit is contained in:
ivaosthu 2018-12-05 08:29:31 +01:00 committed by Ivar Conradi Østhus
parent 738c26fd62
commit 984bb14351

View File

@ -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));
});