Browse Source

Fix wrong error message

pull/12038/head
liangshiwei 4 years ago
parent
commit
32f0e7a888
  1. 2
      framework/src/Volo.Abp.Features/Volo/Abp/Features/FeatureDefinitionContext.cs

2
framework/src/Volo.Abp.Features/Volo/Abp/Features/FeatureDefinitionContext.cs

@ -18,7 +18,7 @@ public class FeatureDefinitionContext : IFeatureDefinitionContext
if (Groups.ContainsKey(name))
{
throw new AbpException($"There is already an existing permission group with name: {name}");
throw new AbpException($"There is already an existing feature group with name: {name}");
}
return Groups[name] = new FeatureGroupDefinition(name, displayName);

Loading…
Cancel
Save