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:
parent
738c26fd62
commit
984bb14351
@ -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));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user