diff --git a/src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs b/src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs index b5ebb1e..77c389b 100644 --- a/src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs +++ b/src/DotNetCore.CAP/CAP.AppBuilderExtensions.cs @@ -25,7 +25,7 @@ namespace Microsoft.AspNetCore.Builder if (marker == null) { - throw new InvalidOperationException("Add Consistency must be called on the service collection."); + throw new InvalidOperationException("Add Cap must be called on the service collection."); } var provider = app.ApplicationServices;