mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
fix: change error message
This commit is contained in:
parent
f66d95aeef
commit
be5084401f
@ -118,7 +118,7 @@ class FeatureToggleService {
|
|||||||
const id = await this.featureToggleStore.getProjectId(featureName);
|
const id = await this.featureToggleStore.getProjectId(featureName);
|
||||||
if (id !== projectId) {
|
if (id !== projectId) {
|
||||||
throw new InvalidOperationError(
|
throw new InvalidOperationError(
|
||||||
'You can not change the projectId for an activation strategy.',
|
'Project id does not match the project that the feature belongs to',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user