Browse Source
Merge pull request #12038 from abpframework/liangshiwei/features
Fix wrong error message
pull/12039/head
maliming
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
|