Browse Source

Merge pull request #12038 from abpframework/liangshiwei/features

Fix wrong error message
pull/12039/head
maliming 4 years ago
committed by GitHub
parent
commit
08a3c94537
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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